-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
pd.concat of Series with int64 column and Series with int64-ExtensionArray yields int64 #21792
Comments
where do you have a Int64 EA array defined? |
@jreback see my "prototype" package https://github.com/xhochy/fletcher that wraps Arrow arrays of any type into ExtensionArrays. The |
as an FYI: #21160 this is currently not dependent on pyarrow, though its pushing the EA protocols. |
also xref #21789 |
Fixing this might also be a breaking change, e.g. the following behaviour is probably wanted:
|
Narrowed this down to pandas/pandas/core/dtypes/concat.py Line 181 in 63eff04
axis == 1 but in the series case, we have axis == 0 .
Removing the check for
|
Code Sample
Problem description
This currently leads
BaseReshapingTests.test_concat_mixed_dtypes
to fail on ExtensionArrays that can be converted to any numeric data NumPy datatype.The text was updated successfully, but these errors were encountered: