BUG: DataFrame([empty EA Series]) returns NAs with dtype object #56231
Labels
Bug
Constructors
Series/DataFrame/Index/pd.array Constructors
DataFrame
DataFrame data structure
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Given that the correct NA value was picked up here, I imagine it could be possible to return Int64 types here instead of object
Expected Behavior
Returning Int64 types instead of object
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: