title: Extract only p-value from MANOVA test result with statsmodel
body: <p>I have run MANOVA test with statsmodel as following:</p>
  <pre><code>manova = MANOVA(endog=X, exog=y)
  
  print(manova.mv_test())
  </code></pre>
  <p>as a result I have gotten the following table:</p>
  <pre><code>                 Multivariate linear model
  ============================================================
                                                              
  ------------------------------------------------------------
             x0           Value  Num DF  Den DF F Value Pr &gt; F
  ------------------------------------------------------------
            Wilks' lambda 0.7762 5.0000 28.0000  1.6148 0.1887
           Pillai's trace 0.2238 5.0000 28.0000  1.6148 0.1887
   Hotelling-Lawley trace 0.2884 5.0000 28.0000  1.6148 0.1887
      Roy's greatest root 0.2884 5.0000 28.0000  1.6148 0.1887
  ============================================================
  </code></pre>
  <p>my question is, how do I extract only the p-value?
  following <a href="https://stackoverflow.com/questions/51553355/how-to-get-pvalue-from-statsmodels-manova">this</a> post  I have tried that:</p>
  <pre><code> print(manova.mv_test().results['x0']['stat'].values['Hotelling-Lawley trace',4])
  </code></pre>
  <p>but I got index error and also i'm not sure I understand the logic behind it.</p>
  <blockquote>
  <p>IndexError: only integers, slices (<code>:</code>), ellipsis (<code>...</code>),
  numpy.newaxis (<code>None</code>) and integer or boolean arrays are valid indices</p>
  </blockquote>
  <p><strong>My end goal is to save only the p-value as new variable, e.g to &quot;Extract&quot; the p-value from the table.</strong></p>
  <p>maybe understnading how this table is generated could also help, as i'm not sure what is this (it is table that is not pandas and doesn't look like matrix so how can I slice anything from there?)</p>