mdentropy.core.binning.
doanes_rule
Convenience function for choosing an optimal number of bins using Doane’s Rule.
x : numpy.ndarray or list of floats
Data to be binned.
n_bins : int