Skip to content

Commit dead99a

Browse files
committed
fix: set default value for includeKey
1 parent 83e5414 commit dead99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polars/dataframe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,7 @@ export const _DataFrame = (_df: any): DataFrame => {
20612061
nullCount() {
20622062
return wrap("nullCount");
20632063
},
2064-
partitionBy(by, strict = false, includeKey?: boolean, mapFn = (df) => df) {
2064+
partitionBy(by, strict = false, includeKey = true, mapFn = (df) => df) {
20652065
by = Array.isArray(by) ? by : [by];
20662066
return _df
20672067
.partitionBy(by, strict, includeKey)

0 commit comments

Comments
 (0)