-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update pivot expr on to first param (#252)
The pivot function now has `on` as the first param instead of `index`, as noted in the [python 1.0 upgrade documentation](https://docs.pola.rs/releases/upgrade/1/#update-resulting-column-names-in-pivot-when-pivoting-by-multiple-values): > columns has been renamed to on, and is now the first positional argument. <img width="1099" alt="image" src="https://github.com/user-attachments/assets/1110a76d-2212-4fd0-9508-ce3bd3b619ba"> Added some test coverage from examples in docs to capture this. Existing test coverage was using the same column as `index` and `on`, resulting in this not being caught.
- Loading branch information
Showing
3 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters