-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
PERF/ENH: add fast astyping for Categorical #37355
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
50 commits
Select commit
Hold shift + click to select a range
5d82b02
PERF/ENH: add fast astyping for categorical input
arw2019 c18ae4e
replace is_categorical -> is_categorical_dtype
arw2019 d7c0575
ASV: add astyping benchmark
arw2019 856995f
DOC: whatsnew
arw2019 57817a4
feedback: move change core/generic -> internals
arw2019 1050d9e
rewrite categorical check in Block.astype
arw2019 c8c05cc
rewrite the fix
arw2019 b8141c4
rewrite the fix
arw2019 3d3bcf1
fix handling of strings
arw2019 3714d09
improve readability
arw2019 f8f501f
add more special casing...
arw2019 f4b5952
Merge remote-tracking branch 'upstream/master' into GH8628
arw2019 2ec7ded
feedback: move changes to Categorical.astype
arw2019 cd110bc
feedback: add comment in Categorical.astype
arw2019 113a569
CLN: remove unnecessary line
arw2019 341ceb6
TST: error msg changed
arw2019 c5f3fd4
ASV: feedback
arw2019 9943bb9
ASV: more
arw2019 c720536
DOC: mention Series.astype
arw2019 f96a20d
Merge remote-tracking branch 'upstream/master' into GH8628
arw2019 37e3264
Merge remote-tracking branch 'upstream/master' into GH8628
arw2019 190c015
BUG: fix empty input cases
arw2019 f9a3040
BUG: fix array vs. np.array usage
arw2019 568aa7f
BUG: astype to same dtype; use na_value_for_dtype
arw2019 6860e48
TST/BUG: fix error message
arw2019 f2aa2ef
CLN: simplify elif
arw2019 d226d84
Merge branch 'master' of https://github.com/pandas-dev/pandas into GH…
arw2019 9a9e24a
Merge branch 'master' of https://github.com/pandas-dev/pandas into GH…
arw2019 a323544
TST: revert error message
arw2019 07b2a65
REF/ERR: use take_1d + catch casting error
arw2019 229bfc7
ERR: fix casting error message
arw2019 da12be0
ERR/TST: revert message change in method & test
arw2019 e5ede6d
Merge branch 'master' of https://github.com/pandas-dev/pandas into GH…
arw2019 93f3e1a
REF (feedback): astype categories then extract numpy array
arw2019 9cb5fe3
CLN (feedback): remove np.array from take_1d
arw2019 f55964e
CI (feedback): use ensure_platform_int in cast
arw2019 b342135
COMMENT: add TODO re consolidating EA/ndarray cases
arw2019 73e0442
CLN: shorten variable name
arw2019 19e22e2
Merge branch 'master' of https://github.com/pandas-dev/pandas into GH…
arw2019 d195d91
TST/CI (32bit): fix up int conversions
arw2019 3351cb1
fix merge error
arw2019 38696d9
merge with upstream/master
arw2019 071deec
merge with master
arw2019 13fa086
TST: use np.intp in dtype tests
arw2019 dda6804
Merge branch 'master' of https://github.com/pandas-dev/pandas into GH…
arw2019 1016894
CI: fix 32bit again
arw2019 a9544b3
DOC: add note re: CategoricalIndex TypeError catch
arw2019 527b15a
merge with upstream/master
arw2019 9c29946
Merge branch 'GH8628' of https://github.com/arw2019/pandas into GH8628
arw2019 7e9fc32
CI: fix merge error
arw2019 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
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.