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
The text was updated successfully, but these errors were encountered:
rmwenzel
changed the title
When passing DataFrame, dmatrices returns design matrix with zero rows standardize in formula in several cases
When passing DataFrame, dmatrices returns design matrix with zero rows using standardize in formula
Jan 10, 2021
When passing a
pandas.DataFrame
,dmatrices
is returning a design matrix with no rows in at least two cases I could find.Here's some minimal examples.
Case 1: All column values are the same
give
Case 2. Column values are different but contain
np.nan
gives the same
patsy version is the latest on conda,
0.5.1
The text was updated successfully, but these errors were encountered: