Python Supervised Binning Algorithmic Problems