Skip to content

Commit

Permalink
MNT update to polars 0.17.2 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
lorentzenchr committed Apr 14, 2023
1 parent 2dbace0 commit e6a33b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classifiers = [
]
keywords = ["machine learning", "model diagnostics", "calibration"]
dependencies = [
"polars >= 0.16.8",
"polars >= 0.17.2",
"matplotlib >= 3.6.1",
"scikit-learn >=1.2.0", # We rely on the set_output API.
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,9 @@ def test_compute_bias_keeps_null_values():
feature=feature,
n_bins=1,
)
assert_series_equal(df_bias["feature"], pl.Series("feature", [None]))
assert_series_equal(
df_bias["feature"], pl.Series("feature", [None], dtype=pl.Float64)
)
assert_series_equal(
df_bias["bias_count"], pl.Series("bias_count", [2], dtype=pl.UInt32)
)
Expand Down

0 comments on commit e6a33b4

Please sign in to comment.