Equal-width and equal-depth binning, using scipy
Don't expect everything to require a library.
Both bombings can be implemented in 1 or 2 lines of Python code if you think about them for a minute. It probably takes you longer to find/install/study a library than to just write this code yourself.
I have wound several examples of equal-mean binning, using scipy, but I wondering if it is possible to use library for equal-width or -depth binning.
Actually, I'm fine using other libraries, not only scipy