-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PERF] Move
with_column
and exclude
function logic to Rust side, …
…add `with_columns` (#2167) This PR includes two things: - a performance improvement to calling (not execution of) `DataFrame.with_column` and `DataFrame.exclude` where projection conversion is done on the Rust side so that costly conversions of the dataframe fields into Python objects are no longer necessary - the addition of the `DataFrame.with_columns` method which allows adding multiple columns to a dataframe at once. Will also improve performance over calling `with_column` multiple times. Since I was modifying the `with_column` function I figured I would add this as a drive-by I also took this opportunity to clean up some of the rust builder code.
- Loading branch information
1 parent
1e20b2d
commit 3582aa7
Showing
12 changed files
with
229 additions
and
165 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
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.