[variability] fixup drop_nulls
This commit is contained in:
parent
483a831997
commit
47d173443f
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ def variability_plot(
|
||||||
df = polars.DataFrame(data_table)
|
df = polars.DataFrame(data_table)
|
||||||
|
|
||||||
# Drop nulls and nans so that the boxplots don't disappear
|
# Drop nulls and nans so that the boxplots don't disappear
|
||||||
df = polars.drop_nulls(subset=[data_col]).drop_nans(subset=[data_col])
|
df = df.drop_nulls(subset=[data_col]).drop_nans(subset=[data_col])
|
||||||
|
|
||||||
# Assign category indicies (x_pos)
|
# Assign category indicies (x_pos)
|
||||||
df = df.sort(groups)
|
df = df.sort(groups)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue