[dtypes] FloatFormatter
reverse transform does not support new pandas dtypes
#855
Milestone
FloatFormatter
reverse transform does not support new pandas dtypes
#855
Error Description
The FloatFormatter crashes due to hard coded logic attempting to cast to a numpy data type (line 191:
is_integer = np.dtype(self._dtype).kind == 'i'
). If the dtype differs fromnp.dtype
, this causes a breaking error during reverse transformation. Which is the root cause of FloatFormatter not handling the newpandas data types
.Steps to reproduce
Expected behavior
numpy.dtypes
anduints
.Null
values.Additional Context
Once this is fixed, we should be able to
fit
andsample
fromSDV
(it is important to confirmsampling
since fitting is already confirmed).The text was updated successfully, but these errors were encountered: