How to bin a continuous variable in low medium high in python?
Answers
Answered by
9
Binning The Variable: Binning refers to dividing a list of continuous variables into groups. It is done to discover set of patterns in continuous variables, which are difficult to analyze otherwise.
Answered by
0
Explanation:
The dataframe name is df, and the continuous variable's ... feature with three values: low, medium, and high, and put the ... The lines of code for this to be done are: Python: binwidth ...
Similar questions