entropy# tangles.util.entropy.entropy(x: ndarray) → ndarray# Compute the discrete entropy of every column of x. For \(x = (x_1,...,x_k)\) the result is \((h(x_1),...,h(x_k))\). Parameters# xnp.ndarrayThe data. Returns# np.ndarrayThe entropies of the rows of x.