Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
rcap107 committed Dec 5, 2024
1 parent eb4de97 commit 96423ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skrub/tests/test_stringencoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ def test_encoding(encode_column, df_module):
se = StringEncoder(2)
result = se.fit_transform(encode_column)

# Converting dtypes to avoid nullable shenanigans
check_df = sbd.pandas_convert_dtypes(check_df)
result = sbd.pandas_convert_dtypes(result)

df_module.assert_frame_equal(check_df, result)

0 comments on commit 96423ba

Please sign in to comment.