ibis-ml icon indicating copy to clipboard operation
ibis-ml copied to clipboard

bug(steps): handle col with one unique value in Scale* step

Open jitingxu1 opened this issue 8 months ago • 1 comments

similar issue to #118

When scaling, we need to calculate the min and max for ScaleMinMax, or the standard deviation for ScaleStandard.

If a column has only one unique value, the standard deviation (std) will be 0, or max - min will be 0.

This will result in the entire column being transformed to None.

jitingxu1 avatar Jun 06 '24 03:06 jitingxu1