qcut is a great function in pandas.
But in a normal machine learning situation, we usually need to split data into training data and testing data.
let me list an e