woodwork icon indicating copy to clipboard operation
woodwork copied to clipboard

Stop converting to `float64` dtype before qcut call

Open tamargrey opened this issue 3 years ago • 1 comments

Due to a Pandas bug that doesn't allow calling pd.qcut on Float64Dtype columns, we had to add a conversion to float64 in statistics_utils._make_categorical_for_mutual_info that should be removed once the bug is fixed.

  • https://github.com/pandas-dev/pandas/issues/40730

tamargrey avatar Apr 01 '21 20:04 tamargrey

pandas qcut has been updated to support Float64Dtype and Int64Dtype:

  • https://github.com/pandas-dev/pandas/pull/40969

pandas releases on a monthly basis and it should be in the May release.

gsheni avatar Apr 26 '21 13:04 gsheni