Skip to content

Commit

Permalink
fix: fixing incorrect example
Browse files Browse the repository at this point in the history
"value:" is incorrect in the context of pivot, removed
  • Loading branch information
lbardalezg authored Jun 21, 2024
1 parent 093d496 commit 984bd2c
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 @@ -1034,7 +1034,7 @@ export interface DataFrame
* ... "baz": [1, 2, 3, 4, 5, 6],
* ... }
* ... );
* > df.pivot(values:"baz", {index:"foo", columns:"bar"});
* > df.pivot("baz", {index:"foo", columns:"bar"});
* shape: (2, 4)
* ┌─────┬─────┬─────┬─────┐
* │ foo ┆ A ┆ B ┆ C │
Expand Down

0 comments on commit 984bd2c

Please sign in to comment.