Skip to content

Commit 8fbc1f8

Browse files
committed
Fixes polars hist test
1 parent 599bc0c commit 8fbc1f8

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

ui/sdk/tests/tracking/test_polars_col_stats.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ def test_quantiles(example_df):
6666

6767
def test_histogram(example_df):
6868
assert pcs.histogram(example_df["a"], num_hist_bins=3) == {
69-
"(-inf, 0.0]": 0,
70-
"(0.0, 2.0]": 2,
71-
"(2.0, 4.0]": 2,
72-
"(4.0, inf]": 1,
69+
"(0.996, 2.333333]": 2,
70+
"(2.333333, 3.666667]": 1,
71+
"(3.666667, 5.0]": 2,
7372
}
7473

7574

0 commit comments

Comments
 (0)