all AI news
How can I create a table, or export to csv, regression results from statsmodels?
Web: https://www.reddit.com/r/datascience/comments/sepegc/how_can_i_create_a_table_or_export_to_csv/
Jan. 28, 2022, 12:11 p.m. | /u/porcos3
Data Science reddit.com
I ran a simple OLS regression and I would like to make a table for Latex, or at least export it as a csv if that is possible. I basically have something like,
estimates = sm.ols(formula='y ~ X).fit()
and then I do
estimates.summary()
to look at the results. I would like to have this in Latex code so I can make a PDF and show it to someone, or at least as a csv if possible.
Is there a way …
!-->More from reddit.com / Data Science
Latest AI/ML/Big Data Jobs
Data Operations Analyst
@ Mintel | Chicago
Data Analyst
@ PEAK6 | Austin, Chicago, Dallas, New York, Portland, Seattle
Data Scientist, Commercial Systems
@ Canonical Ltd. | Home based - EMEA
Sr. ML Data Associate, Information Data Operations
@ Amazon.com | US, CA, Virtual Location - California
Data Analyst (Europe & Australia)
@ Marley Spoon | Lisbon, Lisbon, Portugal - Remote
Healthcare ETL Developer
@ HealthVerity | United States