Skip to content

Commit

Permalink
revert fix for 6732
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Chigarev <[email protected]>
  • Loading branch information
dchigarev committed Nov 12, 2023
1 parent ac17c16 commit 84fc9f1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modin/core/dataframe/algebra/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,9 @@ def try_compute_new_dtypes(first, second, infer_dtypes=None, result_dtype=None,
elif infer_dtypes == "common_cast":
dtypes = maybe_compute_dtypes_common_cast(first, second, axis=axis)
elif infer_dtypes == "float":
dtypes = maybe_build_dtypes_series(first, second, dtype=np.dtype(float))
# dtypes = maybe_compute_dtypes_common_cast(first, second, axis=axis)
# if dtypes is not None:
# dtypes = dtypes.apply(coerce_int_to_float64)
dtypes = maybe_compute_dtypes_common_cast(first, second, axis=axis)
if dtypes is not None:
dtypes = dtypes.apply(coerce_int_to_float64)
else:
# For now we only know how to handle `result_dtype == bool` as that's
# the only value that is being passed here right now, it's unclear
Expand Down

0 comments on commit 84fc9f1

Please sign in to comment.