You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a little bit weird, since the formula support all categorical variables but the endog. I wonder if this could be a poential feature to imporve.
Btw, is there any current workaround for this issue if I wanna use formula?
I also wish patsy could offer the ability to specify the coding. For example, if I have a variable with two categories: Yes and No. I may wanna code Yes as 0 and No as 1, or Yes as 1 and No as 0. I don't see any way to control this in pandas unlesss I review the coding returned by pandas to choose which one to use. I think it would be much easier to do so if we can specify it just like how we specify a baseline in a categorical variable in a patsy formula.
patsy: '0.5.1'
statsmodels/statsmodels#5552
@bashtage:
The text was updated successfully, but these errors were encountered: