-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Support nan-ops for object-typed arrays #1883
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
22 commits
Select commit
Hold shift + click to select a range
1b9c05f
First support of sum, min, max for object-typed arrays
fujiisoup 4f2f209
typo
fujiisoup 4c45504
flake8
fujiisoup e01d0f8
Pandas compatiblity test. Added nanmean for object-type array
fujiisoup de9c05c
Improve test
fujiisoup ebeea79
Support nanvar, nanstd
fujiisoup bb3b3b0
Fix bug in _create_nan_agg_method
fujiisoup d194a8c
Added nanargmin/nanargmax
fujiisoup 33724f4
Support numpy<1.13.
fujiisoup 9616915
Update tests.
fujiisoup 670ae8a
Some cleanups and whatsnew
fujiisoup 4da55c4
Simplify tests. Drop support std.
fujiisoup 9fb1715
flake8
fujiisoup de1c613
xray -> xr
fujiisoup 63c0a9d
Merge branch 'master' into nanops
fujiisoup 3d0e22a
Merge branch 'master' into nanops
fujiisoup c31fb49
string array support
fujiisoup 4dcc1aa
Support str dtype. Refactor nanmean
fujiisoup f93a618
added get_pos_inifinity and get_neg_inifinity
fujiisoup 2c32342
Merge branch 'master' into nanops
fujiisoup 28f0e0a
Use function for get_fill_value instead of str. Add test to make sure…
fujiisoup e46d07d
Tests for dtypes.INF
fujiisoup 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
Oops, something went wrong.
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.
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.
Wasn't the intent
value.dtype.kind in "cf"instead ofvalue.dtype.kind in ["cf"]?In any case, this is a no-op because
value.dtype.kind == "O". So remove the test altogether?I am attempting to fix this #10465 (comment).