-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
TST: base test for ExtensionArray.astype to its own type + copy keyword #35116
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
jorisvandenbossche
merged 33 commits into
pandas-dev:master
from
tomaszps:extension-base-test
Sep 22, 2020
Merged
Changes from 31 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
2b8f738
Add test for self dtype
6cc98c9
Fix boolean astype method copying behaior
ecbc762
Fix integer IntegerArray astype, same problem
4fa6d92
Hack in fix for PandasArray.astype()
6ff48ea
Same hacky fix for period
1470c6b
Same hacky fix for sparse
9e96547
Fix StringArray in same hacky way, does not fix __eq__ problem
2f287ca
Fix DecimalArray in same hacky way
c7baa62
Undo removal of string tests
b68f4fb
Fix formatting to pass 'black pandas'
462704d
Add changes to whatsnew
609b255
Merge branch 'master' into extension-base-test
b761926
Merge branch 'master' into extension-base-test
tomaszps 72cb49e
Update v1.1.0.rst
tomaszps ced29ed
Temporarily disable TestCasting for strings
7762eb9
Merge branch 'extension-base-test' of https://github.com/tomaszps/pan…
4ff47fb
Revert "Temporarily disable TestCasting for strings"
d5095d4
Fix style in `sparse/array.py` to match other changes
5f464a6
Remove redundant copy check from `string_.py`
7f45370
Add 'if copy' check to base ExtensionArray astype class
f134cf4
Clean up small formatting/import issues in numpy_.py
fbbe28a
Swap `dtype == self.dtype` checks for `is_dtype_equal`
dcd884d
Remove pointless astype method definition in `PandasArray`
a4a32db
Make DecimalArray use preexisting code for own-type copy
b5b1ccc
Fix passing xfail tests in test_numpy.py
5720f67
Remove unnecessary import from numpy_
7155e0f
Merge branch 'master' into extension-base-test
047de22
Fix import formatting using isort
3dcef56
add comment
jorisvandenbossche 854d2bb
Add changes to whatsnew
42cd940
Fix .rst typo
10f0f64
Update doc/source/whatsnew/v1.2.0.rst
tomaszps 3f34d28
Update pandas/tests/extension/test_numpy.py
tomaszps 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
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.