Open
Description
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
In [23]: df = pd.DataFrame([pd.Series([], dtype="Int64")], columns=[1, 2, 3])
In [24]: df
Out[24]:
1 2 3
0 <NA> <NA> <NA>
In [25]: df.dtypes
Out[25]:
1 object
2 object
3 object
dtype: object
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()