title: python pandas describe groupby output question
body: <p>I use describe with groupby on a dataframe such as:</p>
  <pre><code>df_stats = df[[&quot;x&quot;,&quot;y&quot;]].describe(df[&quot;key1&quot;],df[&quot;key2&quot;])
  </code></pre>
  <p>this produces the standard set of stats for &quot;x&quot; and &quot;y: in df by key/key2 value combinations.  these combinations are, in general, not know a priori.</p>
  <p>if I print df_stats it will list the various combinations of key1/key2 values as row values but I
  cannot find out where these combination values are being stored (should be in the df_stats dataframe, no?)</p>
  <p>the objective is to be able to have other dataframe data to &quot;look up&quot; data in the df_stats rows so as to include it in calculations - appreciate any insights in advance - pulling my hair out</p>
  <p>thx - j</p>