-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
ExtensionArray.take default implementation #20814
Merged
Merged
Commits on Apr 24, 2018
-
[WIP]: ExtensionArray.take default implementation
Implements a take interface that's compatible with NumPy and optionally pandas' NA semantics. ```python In [1]: import pandas as pd In [2]: from pandas.tests.extension.decimal.array import * In [3]: arr = DecimalArray(['1.1', '1.2', '1.3']) In [4]: arr.take([0, 1, -1]) Out[4]: DecimalArray(array(['1.1', '1.2', '1.3'], dtype=object)) In [5]: arr.take([0, 1, -1], fill_value=float('nan')) Out[5]: DecimalArray(array(['1.1', '1.2', Decimal('NaN')], dtype=object)) ``` Closes pandas-dev#20640
Configuration menu - View commit details
-
Copy full SHA for fb3c234 - Browse repository at this point
Copy the full SHA fb3c234View commit details -
Configuration menu - View commit details
-
Copy full SHA for dacd98e - Browse repository at this point
Copy the full SHA dacd98eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0be9ec6 - Browse repository at this point
Copy the full SHA 0be9ec6View commit details
Commits on Apr 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 08f2479 - Browse repository at this point
Copy the full SHA 08f2479View commit details -
Configuration menu - View commit details
-
Copy full SHA for eba137f - Browse repository at this point
Copy the full SHA eba137fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ba9dd - Browse repository at this point
Copy the full SHA 67ba9ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37915e9 - Browse repository at this point
Copy the full SHA 37915e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c721915 - Browse repository at this point
Copy the full SHA c721915View commit details -
Configuration menu - View commit details
-
Copy full SHA for 125ca0b - Browse repository at this point
Copy the full SHA 125ca0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ae0bc - Browse repository at this point
Copy the full SHA b7ae0bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 338566f - Browse repository at this point
Copy the full SHA 338566fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31cd304 - Browse repository at this point
Copy the full SHA 31cd304View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d8844 - Browse repository at this point
Copy the full SHA 05d8844View commit details -
1. Reversed order of take keywords 2. Added to extensions API 3. Removed default implementation
Configuration menu - View commit details
-
Copy full SHA for 69e7fe7 - Browse repository at this point
Copy the full SHA 69e7fe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 449983b - Browse repository at this point
Copy the full SHA 449983bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c449afd - Browse repository at this point
Copy the full SHA c449afdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82cad8b - Browse repository at this point
Copy the full SHA 82cad8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5470a0 - Browse repository at this point
Copy the full SHA d5470a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbcbf19 - Browse repository at this point
Copy the full SHA bbcbf19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a4d987 - Browse repository at this point
Copy the full SHA 1a4d987View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc729d6 - Browse repository at this point
Copy the full SHA fc729d6View commit details
Commits on Apr 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 74b2c09 - Browse repository at this point
Copy the full SHA 74b2c09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db6624 - Browse repository at this point
Copy the full SHA 5db6624View commit details -
Configuration menu - View commit details
-
Copy full SHA for 741f284 - Browse repository at this point
Copy the full SHA 741f284View commit details -
* indexer -> indices * doc user-facing vs physical * assert na_cmps * test reindex w/ non-NA fill_value
Configuration menu - View commit details
-
Copy full SHA for fbc4425 - Browse repository at this point
Copy the full SHA fbc4425View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3b91ca - Browse repository at this point
Copy the full SHA f3b91caView commit details -
Configuration menu - View commit details
-
Copy full SHA for eecd632 - Browse repository at this point
Copy the full SHA eecd632View commit details
Commits on Apr 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9a6c7d4 - Browse repository at this point
Copy the full SHA 9a6c7d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c4f625 - Browse repository at this point
Copy the full SHA 7c4f625View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb43fa4 - Browse repository at this point
Copy the full SHA eb43fa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6858409 - Browse repository at this point
Copy the full SHA 6858409View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec0cecd - Browse repository at this point
Copy the full SHA ec0cecdView commit details
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.