Skip to content

Commit

Permalink
fix groupby bench
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Nov 4, 2021
1 parent d65ac09 commit e0dfa2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions polars/benches/groupby.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ lazy_static! {
.with_stop_after_n_rows(Some(1000000))
.finish()
.unwrap();
df.may_apply("id1", |s| s.cast::<CategoricalType>())
df.may_apply("id1", |s| s.cast(DataType::Categorical)())
.unwrap();
df.may_apply("id2", |s| s.cast::<CategoricalType>())
df.may_apply("id2", |s| s.cast(DataType::Categorical)())
.unwrap();
df.may_apply("id3", |s| s.cast::<CategoricalType>())
df.may_apply("id3", |s| s.cast(DataType::Categorical)())
.unwrap();
df
};
Expand Down

0 comments on commit e0dfa2e

Please sign in to comment.