Skip to content

Commit

Permalink
Fixing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bidek56 committed Mar 14, 2024
1 parent e5a1d23 commit a8f265d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polars/dataframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1018,12 +1018,12 @@ export interface DataFrame
* ... "baz": [1, 2, 3, 4, 5, 6],
* ... }
* ... );
* > df.pivot({values:"baz", index:"foo", columns:"bar"});
* > df.pivot(values:"baz", {index:"foo", columns:"bar"});
* shape: (2, 4)
* ┌─────┬─────┬─────┬─────┐
* │ foo ┆ A ┆ B ┆ C │
* │ --- ┆ --- ┆ --- ┆ --- │
* │ str ┆ i64i64i64
* │ str ┆ f64f64f64
* ╞═════╪═════╪═════╪═════╡
* │ one ┆ 1 ┆ 2 ┆ 3 │
* ├╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┼╌╌╌╌╌┤
Expand Down

0 comments on commit a8f265d

Please sign in to comment.