Skip to content

Commit

Permalink
Fixes polars hist test
Browse files Browse the repository at this point in the history
  • Loading branch information
skrawcz committed Aug 28, 2024
1 parent 599bc0c commit 8fbc1f8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ui/sdk/tests/tracking/test_polars_col_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ def test_quantiles(example_df):

def test_histogram(example_df):
assert pcs.histogram(example_df["a"], num_hist_bins=3) == {
"(-inf, 0.0]": 0,
"(0.0, 2.0]": 2,
"(2.0, 4.0]": 2,
"(4.0, inf]": 1,
"(0.996, 2.333333]": 2,
"(2.333333, 3.666667]": 1,
"(3.666667, 5.0]": 2,
}


Expand Down

0 comments on commit 8fbc1f8

Please sign in to comment.