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
I think we have to become more systematic in checking option combinations
e.g. predict returning pandas Series needed several fixes
For data, e.g. in predict
1-d versus 2-d
both numpy arrays and pandas Series/DataFrames
numpy versus pandas
with or without formulas and going through patsy, in predict case also transform keyword
other supported data structures in special cases, e.g. dict in predict
this sounds like something like 9 or more possibilities
I think we have to also think more often in other cases what option combinations are possible, and which might cause errors. (purely inherited possibilities or option combinations are less risky.)
I'm pretty sure we don't have any MultiIndex unit tests, but does it make a difference whether we reuse a plain index or a MultiIndex?
AFAIK, we don't support anywhere if the index is in a regular dataframe column, and if the user doesn't us the index, then we won't use it either.
Activity
jbrockmendel commentedon Oct 17, 2017
For the list: I'm not sure if we have any checks/tests for pandas input cases where index or columns are
pd.MultiIndexobjects.josef-pkt commentedon Oct 17, 2017
I'm pretty sure we don't have any MultiIndex unit tests, but does it make a difference whether we reuse a plain index or a MultiIndex?
AFAIK, we don't support anywhere if the index is in a regular dataframe column, and if the user doesn't us the index, then we won't use it either.
jbrockmendel commentedon Oct 17, 2017
I don't expect it to make much difference, just figured if we're trying to be thorough about testing varieties of inputs, it merits including.