BUG: Pandas string
dtype reverts to object
dtype when initialising index
#42455
Labels
Closing Candidate
May be closeable, needs more eyeballs
ExtensionArray
Extending pandas with custom dtypes or arrays.
Index
Related to the Index class or subclasses
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Output pd.show_versions()
I don't think the dtype should change here. Seems to be okay for other dtypes apart from strings.
The text was updated successfully, but these errors were encountered: