Skip to content

Commit

Permalink
fix: set default value for includeKey (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
invakid404 authored Feb 23, 2024
1 parent 83e5414 commit 208000f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polars/dataframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2061,7 +2061,7 @@ export const _DataFrame = (_df: any): DataFrame => {
nullCount() {
return wrap("nullCount");
},
partitionBy(by, strict = false, includeKey?: boolean, mapFn = (df) => df) {
partitionBy(by, strict = false, includeKey = true, mapFn = (df) => df) {
by = Array.isArray(by) ? by : [by];
return _df
.partitionBy(by, strict, includeKey)
Expand Down

0 comments on commit 208000f

Please sign in to comment.