-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve __getitem__ for Dataframe/Series. (#4160)
Improve __getitem__ for Dataframe/Series: - Allow fast path for retrieving multiple rows when using a sequence, numpy array or Series of row indexes. (speedup of x6). - Support all unsigned and signed integer types for multiple row indexing. - Allow negative indexes for multiple row indexing. - Add more getitem tests and fix old getitem tests that were wrong (didn't use assert, so didn't fail before). - Support getting columns from dataframe with pl.Utf8 series.
- Loading branch information
Showing
5 changed files
with
302 additions
and
40 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
Oops, something went wrong.