-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[DataFrame] Apply() for Lists and Dicts #1973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4ad5d05
working for non-string functions and not lists of functions
osalpekar 3a8c30a
works with functions as strings now as well
osalpekar 9d4739b
fixed linting errors
osalpekar 4913a26
throwing a warning if the input is a dictionary
osalpekar a845336
added dict of lists functionality
osalpekar 5e45743
fix minor indexing errors and lint
osalpekar e39dcf5
removed some commented out code
osalpekar 94afdf4
some comments and thoughts for apply
osalpekar acdb7a2
cleaned up code a little bit and added todos
osalpekar 317abd8
improved performance
osalpekar 2796551
error checking and code cleanup and comments
osalpekar 71f0869
small change
osalpekar 5402c5c
improved list performance a lot
osalpekar e9f1708
agg calls apply for lists
osalpekar ffaeee4
addressing comments on the PR
osalpekar 90c2b48
col_metadata change
osalpekar 6025ae7
updated tests to expect TypeError where appropriate
osalpekar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add
col_metadata=self._col_metadataafter #1965There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @osalpekar. Rebase and make this change, then looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rebased and made change in commit below!