I have a variable whose values are like [23.13, 56.1, 12.6, 1.23, 5.56]. I want to find the entropy of this variable. I got one code here How to compute the shannon entropy and mutual information of N variables but for continuous variables what bin size should be preferred?