Pietro Battiston

Results 97 comments of Pietro Battiston

I suspect preparing all numerical values (coefficients, stats...) in a Pandas table, and possibly saving it to Excel, would not be difficult (although it probably requires a different code flow...

Cool! Is it based on openpyxl? I can take a look at the code when you want, but consider splitting the code to a separate file if you like -...

> Thanks. No, I actually use the `xlsxwriter` package. Do you have a preference for any specific package or is this one fine too? I have no strong preference. `openpyxl`...

Just one thought: ``pandas.DataFrame.to_latex()`` has a similar argument, but when passed, the method it will _not_ return the representation as string. To be honest I don't see any downside with...

> @toobaz please let me know if you'd prefer output suppressed when providing `out`. Yes, please!

My 2 cents: linearmodels might "extend" in some sense statsmodels but its objects do not seem to inherit anything from statsmodels' objects. I don't think it is worth for stargazer...

> A bit of background: statsmodels is way too rigid to support data structures that are not easily described as a single y variable fit against an array of x...

> I posted some details of [how I would approach it here](https://github.com/bashtage/linearmodels/issues/270#issuecomment-636754936). I hope I made it clear that I'm thinking of sharing interfaces in the sense of standards, not...

You are right, this would be a nice addition (I actually thought it was supported already!) A PR will be welcome.