Skip to content

Commit

Permalink
see kurtosis as aggregation (#2993)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Mar 28, 2022
1 parent 12d8c73 commit c0f184b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion polars/polars-lazy/src/dsl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,11 @@ impl Expr {
},
GetOutput::from_type(DataType::Float64),
)
.with_fmt("kurtosis")
.with_function_options(|mut options| {
options.fmt_str = "kurtosis";
options.auto_explode = true;
options
})
}

/// Get maximal value that could be hold by this dtype.
Expand Down

0 comments on commit c0f184b

Please sign in to comment.