merge_asof fails to coerce float types #21559
Labels
Bug
Dtype Conversions
Unexpected or buggy dtype conversions
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Code Sample, a copy-pastable example if possible
Problem description
pd.merge
seems to correctly treatfloat32
andfloat64
both asfloating
, butpd.merge_of
results inpandas.errors.MergeError: incompatible merge keys [0] float64 and float32, must be the same type
.Expected Output
df3
anddf4
should be identicalOutput of
pd.show_versions()
The text was updated successfully, but these errors were encountered: