Skip to content

Commit

Permalink
fix pd categorical test
Browse files Browse the repository at this point in the history
  • Loading branch information
oegedijk committed Mar 18, 2024
1 parent d28d18d commit c775bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_regression_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_get_col(precalculated_rf_regression_explainer):
precalculated_rf_regression_explainer.get_col("Gender"), pd.Series
)
assert isinstance(
precalculated_rf_regression_explainer.get_col("Gender"), pd.CategoricalDtype()
precalculated_rf_regression_explainer.get_col("Gender"), pd.CategoricalDtype
)

assert isinstance(precalculated_rf_regression_explainer.get_col("Age"), pd.Series)
Expand Down

0 comments on commit c775bbe

Please sign in to comment.