BUG/API: preserve dtype in Index append()
#60159
Labels
Dtype Conversions
Unexpected or buggy dtype conversions
Index
Related to the Index class or subclasses
Strings
String extension data type and string data
Milestone
If you combine two Index objects using
append
, if they are both object dtype to start with, it seems we still infer the dtype for the result instead of preserving object dtype:I would expect that to preserve the dtype of the calling / passed Index (or at least its "common" dtype, which in this case clearly is object dtype)
The text was updated successfully, but these errors were encountered: