title: ANOVA in python using pandas dataframe with statsmodels or scipy?
body: <p>I want to use the Pandas dataframe to breakdown the variance in one variable.</p>
  
  <p>For example, if I have a column called 'Degrees', and I have this indexed for various dates, cities, and night vs. day, I want to find out what fraction of the variation in this series is coming from cross-sectional city variation, how much is coming from time series variation, and how much is coming from night vs. day. </p>
  
  <p>In Stata I would use Fixed effects and look at the R^2.   Hopefully my question makes sense.</p>
  
  <p>Basically, what I want to do, is find the ANOVA breakdown of "Degrees" by three other columns.  </p>