Use the Bin Code transformation to replace a continuous numeric column with a categorical one. The Bin Code transformation produces ordinal values (that is, numeric categorical values where order is meaningful such as a data column).
You can choose equal-width bins, equal-width bins with a specified range, bins with a specified width, evenly distributed bins, or bins with specified boundaries.
If you specify a range or boundaries, values less than the minimum value go into bin 0 and values greater than the maximum value go into bin n+1, where n is the ordinal number of bin that contains the maximum value.