I\'m doing logistic regression using pandas 0.11.0(data handling) and statsmodels 0.4.3 to do the actual regression, on Mac OSX Lion.
pandas 0.11.0
statsmodels 0.4.3
I\'m goin
There is actually a built-in method documented in the documentation here:
f = open('csvfile.csv','w') f.write(result.summary().as_csv()) f.close()
I believe this is a much easier (and clean) way to output the summaries to csv files.