BUG: mix of int and pd.NA defaults to object dtype #33662
Labels
Constructors
Series/DataFrame/Index/pd.array Constructors
Dtype Conversions
Unexpected or buggy dtype conversions
Enhancement
ExtensionArray
Extending pandas with custom dtypes or arrays.
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Needs Discussion
Requires discussion from core team before further action
PDEP missing values
Issues that would be addressed by the Ice Cream Agreement from the Aug 2023 sprint
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
Code Sample, a copy-pastable example
On pandas 1.0.3:
Problem description
Creating a DataFrame with mixed int and pd.NA defaults to
object
instead ofInt64
According to @simonjayhawkins in #32931
Expected Output
The text was updated successfully, but these errors were encountered: