How to give label on pandas.cut() when a a value does not meet any boundaries
Advertisements I have a dataframe with numerical continuous values, I want to convert them into an ordinal value as a categorical feature. At the same time, when there is a numerical value that does not meet the boundaries, it is retuning as NaN. But I want to assign a new label for those values. My… Read More How to give label on pandas.cut() when a a value does not meet any boundaries