-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: allow storing ExtensionArrays in Index #43930
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
110 commits
Select commit
Hold shift + click to select a range
df9c228
ENH/WIP/POC: EA-backed Index
jbrockmendel 3952027
Merge branch 'master' into enh-nullable-index
jbrockmendel 95e0129
BUG: NumericIndex.insert
jbrockmendel c52d459
Merge branch 'bug-insert' into enh-nullable-index
jbrockmendel cf0c171
Merge branch 'master' into enh-nullable-index
jbrockmendel 0a3b7d7
Merge branch 'master' into enh-nullable-index
jbrockmendel d53377d
fix a few more tests; ignoring linting for now
jbrockmendel 69fb0bd
Merge branch 'master' into enh-nullable-index
jbrockmendel 1952cd7
Merge branch 'master' into enh-nullable-index
jbrockmendel 1ed588a
fix test
jbrockmendel 34d5dde
down to 38 tests failing
jbrockmendel 42be4e6
Merge branch 'master' into enh-nullable-index
jbrockmendel 91b3716
Merge branch 'master' into enh-nullable-index
jbrockmendel 544d9fe
down to 15 tests failing
jbrockmendel e14d6f1
Merge branch 'master' into enh-nullable-index
jbrockmendel 22a0939
Merge branch 'master' into enh-nullable-index
jbrockmendel 900978c
fix value_counts
jbrockmendel f9c8791
Merge branch 'master' into enh-nullable-index
jbrockmendel c0ae18c
fix map test
jbrockmendel 4ab7f0d
Merge branch 'master' into enh-nullable-index
jbrockmendel a9ef37e
fix some tests
jbrockmendel a2a8de9
Merge branch 'master' into enh-nullable-index
jbrockmendel 41acf3f
ENH: ExtensionArray.insert
jbrockmendel 37d36ad
Fix usage
jbrockmendel bafb23f
Fix TimedeltaIndex.insert test
jbrockmendel bf76950
Merge branch 'enh-ea-insert' into enh-nullable-index
jbrockmendel a3a349d
pass a few more tests
jbrockmendel ebbb7a4
Merge branch 'master' into enh-nullable-index
jbrockmendel 4229dbf
tests
jbrockmendel 17dedee
Merge branch 'master' into enh-nullable-index
jbrockmendel 45fdffb
Merge branch 'master' into enh-nullable-index
jbrockmendel 2fc4798
Merge branch 'master' into enh-nullable-index
jbrockmendel 2e1843a
REF: share ExtensionIndex.insert-> Index.insert
jbrockmendel 1516f66
Merge branch 'bug-ei-inserts' into enh-nullable-index
jbrockmendel c92bea5
Merge branch 'master' into enh-nullable-index
jbrockmendel 6bede7a
Merge branch 'master' into enh-nullable-index
jbrockmendel 2bb1dea
handle a few more tests
jbrockmendel e692899
Merge branch 'master' into enh-nullable-index
jbrockmendel 36b6629
update test
jbrockmendel 1ab2df1
Merge branch 'master' into enh-nullable-index
jbrockmendel 94376ba
Merge branch 'master' into enh-nullable-index
jbrockmendel 1881599
Fix remaining tests
jbrockmendel bb90bfd
Merge branch 'master' into enh-nullable-index
jbrockmendel 1f97325
no-pyarrow-compat
jbrockmendel 076cada
mypy fixups
jbrockmendel 1e8a31f
remove assertion
jbrockmendel 1d076fe
Merge branch 'master' into enh-nullable-index
jbrockmendel 2d5fa6d
restor astype
jbrockmendel adf3ddb
older numpy compat
jbrockmendel 95be963
Merge branch 'master' into enh-nullable-index
jbrockmendel fd6880e
xfail
jbrockmendel 3d9b9af
mypy fixup
jbrockmendel 31d547c
Merge branch 'master' into enh-nullable-index
jbrockmendel 2d75377
lint fixups
jbrockmendel 37b9370
avoid warnings
jbrockmendel 0e56218
avoid FutureWarnings
jbrockmendel e8987cd
catch RuntimeWarning
jbrockmendel fef88a7
remove unreachable
jbrockmendel d33e306
Merge branch 'master' into enh-nullable-index
jbrockmendel 41c040d
Merge branch 'master' into enh-nullable-index
jbrockmendel e307963
Merge branch 'master' into enh-nullable-index
jbrockmendel 63f26ba
revert no-longer-necessary
jbrockmendel 11d3564
Share ExtensionEngine/NullableEngine methods
jbrockmendel ca747fc
Merge branch 'master' into enh-nullable-index
jbrockmendel cdb08ca
Merge branch 'master' into enh-nullable-index
jbrockmendel 09d8bf1
lint fixup
jbrockmendel 7d783b1
revert no-longer-necessary
jbrockmendel 2553db4
Merge branch 'master' into enh-nullable-index
jbrockmendel 7a44a79
Merge branch 'master' into enh-nullable-index
jbrockmendel de64249
remove unnecessary from test_setops
jbrockmendel 1bb2901
suggested edits
jbrockmendel 5a76d5d
Merge branch 'master' into enh-nullable-index
jbrockmendel a779c75
Merge branch 'master' into enh-nullable-index
jbrockmendel 23bb325
actually run the new base extension tests for all EAs
jorisvandenbossche a3fba50
Merge branch 'master' into enh-nullable-index
jbrockmendel 4abd60e
update tests
jbrockmendel a9f7ea9
Merge branch 'master' into enh-nullable-index
jbrockmendel 7f9741e
older np compat
jbrockmendel c22d6e9
Merge branch 'master' into enh-nullable-index
jbrockmendel 40e861b
32bit compat
jbrockmendel 6e79350
simplify, docstring
jbrockmendel ae6bb0c
Merge branch 'master' into enh-nullable-index
jbrockmendel 90366e9
32bit compat
jbrockmendel c8b1d7d
Merge branch 'master' into enh-nullable-index
jbrockmendel 70debb2
Address comments
jbrockmendel b6a3a47
Merge branch 'master' into enh-nullable-index
jbrockmendel c74a7a7
Merge branch 'master' into enh-nullable-index
jbrockmendel 0339e69
simplify
jbrockmendel e737850
Merge branch 'master' into enh-nullable-index
jbrockmendel 96b25aa
dont catch np.float16 too early
jbrockmendel 788eda1
Merge branch 'master' into enh-nullable-index
jbrockmendel 812da93
de-xfail
jbrockmendel e394394
remove edits made extraneous by other PRs
jbrockmendel 7718bb1
Merge branch 'master' into enh-nullable-index
jbrockmendel 3e1ec00
suggested edits
jbrockmendel 3596bcf
Merge branch 'master' into enh-nullable-index
jbrockmendel 267b1b3
Remove NullableEngine, ExtensionEngine
jbrockmendel 70cad91
Merge branch 'master' into enh-nullable-index
jbrockmendel c8072c5
revert
jbrockmendel 7e0ac18
remove no-longer-necessary
jbrockmendel 80453b4
whatsnew
jbrockmendel 7231a9e
deprecation for SparseArray
jbrockmendel f78aa0f
share _na_value method
jbrockmendel 453d6ae
mypy fixup, npdev catch warnings
jbrockmendel 8750248
mypy fixup
jbrockmendel 0b01bf9
Merge branch 'master' into enh-nullable-index
jbrockmendel d2e0266
compat for older numpy
jbrockmendel 8daa2dc
Merge branch 'master' into enh-nullable-index
jbrockmendel cf95f32
Merge branch 'master' into enh-nullable-index
jbrockmendel 7fba6a2
Merge branch 'master' into enh-nullable-index
jbrockmendel 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
from numpy cimport ndarray | ||
|
||
|
||
cdef bint c_is_list_like(object, bint) except -1 | ||
|
||
cpdef ndarray eq_NA_compat(ndarray[object] arr, object key) |
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
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.