discretization

Converting a pandas Interval into a string (and back again)

Converting a pandas Interval into a string (and back again) Question: I’m relatively new to Python and am trying to get some data prepped to train a RandomForest. For various reasons, we want the data to be discrete, so there are a few continuous variables that need to be discretized. I found qcut in pandas, …

Total answers: 3