Closed adityaraute closed 4 months ago
I'm trying to use the patsy construct in a statsmodels forumla for OLS as shown in the statsmodels docs.
However, I'm getting the following error when trying to pass a column name as parameter.
I wonder if it is possible to make the C feature work with pandas in this way.
C
Apologies, this is not a persisting issue. I realised there was a mistake in my original code.
I'm trying to use the patsy construct in a statsmodels forumla for OLS as shown in the statsmodels docs.
However, I'm getting the following error when trying to pass a column name as parameter.
I wonder if it is possible to make the
C
feature work with pandas in this way.