Skip to content

Commit a516384

Browse files
committed
Polars version shift requires some updates, likely more to come
1 parent 112ab88 commit a516384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderbuild/broad_sanger/05b_separate_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def main():
4242
exp_improve_drug_ids = exp["improve_drug_id"].unique().to_list()
4343

4444
#Ensure that the improve_sample_id column is in integer form.
45-
exp = exp.with_column(pl.col("improve_sample_id").cast(pl.Float64).cast(pl.Int64))
45+
exp = exp.with_columns(pl.col("improve_sample_id").cast(pl.Float64).cast(pl.Int64))
4646

4747
# Write Filtered Experiments File to TSV. Then delete it from memory.
4848
exp_filename_out = f"/tmp/{dataset}_experiments.tsv".lower()

0 commit comments

Comments
 (0)