Null values not behaving as expected in _get_intervals
method
#360
Labels
internal
The issue doesn't change the API or functionality
_get_intervals
method
#360
Below is the code of the
_get_intervals
method:RDT/rdt/transformers/categorical.py
Lines 92 to 108 in adc2b1a
Since we start by converting all null data to
np.nan
in line 92, we would expect lines 107-108 to be unnecessary. If we remove them, however, we run into multiple errors, which can be found in this branch, where the change above was implemented.We should figure out why this error is happening, to make sure the code works as intended.
The text was updated successfully, but these errors were encountered: