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 test_from_contents_vs_memberships tests fail in assert_frame_equal because the dataframe constructed by from_memberships ends up with an IndexRange(star=0, stop=0, step=1) column while the result of drop([id_column], axis=1) is Index([], dtype='object')
To get upsetplot fully compatible with pandas 2.1 I had make two sets of changes, one was changing the test imports from pandas.util.testing to pandas.testing, and one to fix the above problem was to skip testing the column type with assert_frame_equals(..., check_column_type=False)
There might be a way to get the column index to match but I wasn't able to figure it in a few minutes.
Hello,
while testing against pandas 2.1.4
the test_from_contents_vs_memberships tests fail in assert_frame_equal because the dataframe constructed by from_memberships ends up with an IndexRange(star=0, stop=0, step=1) column while the result of drop([id_column], axis=1) is Index([], dtype='object')
More of the output of the test failure.
To get upsetplot fully compatible with pandas 2.1 I had make two sets of changes, one was changing the test imports from pandas.util.testing to pandas.testing, and one to fix the above problem was to skip testing the column type with assert_frame_equals(..., check_column_type=False)
There might be a way to get the column index to match but I wasn't able to figure it in a few minutes.
The text was updated successfully, but these errors were encountered: