-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: Implement unary operators for FloatingArray class #39916
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
simonjayhawkins
merged 23 commits into
pandas-dev:master
from
zitorelova:float-unary-bug
Feb 28, 2021
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e40c3c6
Add neg, pos, abs methods to FloatingArray
zitorelova 9929bc4
Add tests for arrays
zitorelova 1952467
Add tests for Series objects
zitorelova 5fdf667
Add whatsnew entry for v1.3.0
zitorelova de24336
Fix pre-commit errors
zitorelova 853bc5d
Simplify testing for FloatingArray unary operators
zitorelova 6a3e07d
Move whatsnew entry to enhancements
zitorelova 03801fc
Add fixture for signed nullable numeric dtypes
zitorelova 1b9759d
Consolidate all numeric unary operator tests
zitorelova bb77076
Consolidate integer unary operator tests
zitorelova 42e8cdf
Fix shared mask bug
zitorelova 957edc3
Add test for float op mask
zitorelova 38c610b
Do not return copy when using pos op
zitorelova eba6e04
Don't test pos
zitorelova be5eb84
Remove fixture
zitorelova 9367b1b
Edit test to include all numeric dtypes
zitorelova 3e67655
Fix pre-commit
zitorelova 495ddb7
Move unary operator definitions to NumericArray
zitorelova 0162e07
Test mask on all EA dtypes
zitorelova 7dda62d
Add newline to numeric.py
zitorelova 41e42fc
Remove definitions cause they've been moved to NumericArray
zitorelova cf2732a
Xfail instead of skip for invert ops on float ea dtypes
zitorelova 3cc5212
Fix pre-commit error
zitorelova 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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.