-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Assignment of pyarrow arrays yield unexpected dtypes #58601
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
Open
droussea2001
wants to merge
47
commits into
pandas-dev:main
Choose a base branch
from
droussea2001:BUG-56994/pyarrow-assignment-unexpected-dtypes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 14 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
b29fb0f
ArrowDtype type are taken into account in a column assignment
droussea2001 bfbd7dc
Add test for pyarrow assignment in column test_assign_pyarrow_columns
droussea2001 04b1edc
force dtype cast in _sanitize_column only for pa.lib.Array
droussea2001 5d2016d
move test_assign_column_in_dataframe from test_alter_axes.py to test_…
droussea2001 61c0697
Merge remote-tracking branch 'upstream/main' into BUG-56994/pyarrow-a…
droussea2001 4ed7820
Merge remote-tracking branch 'upstream/main' into BUG-56994/pyarrow-a…
droussea2001 86efdfd
test_assign_column_in_dataframe is configurable by the data fixture
droussea2001 e7e3a8b
manage optional pyarrow import
droussea2001 da3f135
Integrate docstring correction
droussea2001 9c53b89
add an xfail to test_assign_column_in_dataframe to manage version wit…
droussea2001 f28b026
correct pyarrow version check
droussea2001 703a0c6
Correct wrong pyarrow check
droussea2001 0f924e1
Remove unnecessary xfail
droussea2001 def88e2
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 0a914da
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 5aeac95
Move pyarrow check in sanitize_array
droussea2001 2f07cc0
Move pyarrow check in sanitize_array
droussea2001 a94023f
Code clean up
droussea2001 e69265b
Check if dtype has been initialized before
droussea2001 cc092e3
Merge remote-tracking branch 'upstream/main' into BUG-56994/pyarrow-a…
droussea2001 12727f0
Try to process arrow dtype before any dtype modification
droussea2001 2c7912b
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 7c15d07
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 0f1c524
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 e983264
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 bd38f15
Add entry in last new in section Conversion
droussea2001 96871c1
Replace pyarrow type check by existing lib function
droussea2001 fadf487
Merge branch 'BUG-56994/pyarrow-assignment-unexpected-dtypes' of http…
droussea2001 5dadf0e
Merge remote-tracking branch 'upstream/main' into BUG-56994/pyarrow-a…
droussea2001 747756f
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 fca36ea
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 ad3d736
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 4773051
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 a4dc614
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 4e03be0
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 97c8e56
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 1805626
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 dadf6fc
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 9cc063e
Update description of issue 56994
droussea2001 bf98984
Code clean up
droussea2001 64a366d
Test assignment from a pyarrow array and a series
droussea2001 8f115c6
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 01812ef
Add test for series instanciation with pyarrow type
droussea2001 89f0429
Merge branch 'BUG-56994/pyarrow-assignment-unexpected-dtypes' of http…
droussea2001 de9caf6
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 ad1db19
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 a9f000c
Merge branch 'main' into BUG-56994/pyarrow-assignment-unexpected-dtypes
droussea2001 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
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.