Skip to content

Commit

Permalink
Removing test
Browse files Browse the repository at this point in the history
Not needed -- doesn't make sense for dates with polars.
  • Loading branch information
skrawcz authored and elijahbenizzy committed Sep 19, 2024
1 parent de803d9 commit fa049fb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ui/sdk/tests/tracking/test_polars_col_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,3 @@ def test_max_string(example_df_string):

def test_str_len(example_df_string):
assert pcs.str_len(example_df_string["a"]).to_list() == [1, 1, 1, 1, 1]


def test_std_date():
df = pl.DataFrame(
{
"a": ["2021-01-01", "2021-01-02", "2021-01-03", "2021-01-04", "2021-01-05"],
},
schema=pl.Schema({"a": pl.Date}),
)
assert pcs.std(df["a"]) == 1.5811388300841898

0 comments on commit fa049fb

Please sign in to comment.