Table of Contents
statsmodels.sandbox.infotheo.
shannoninfo
Shannon’s information
px : float or array-like
px is a discrete probability distribution
For logbase = 2
np.log2(px)