Problem:
Determine the KL Divergence between the empirical distributions $\{0.015,0.122,0.058,0.019,0.178,0.132,0.016,0.036,0.036,0.304\}$ and $\{0.049,0.014,0.065,0.038,0.079,0.129,0.102,0.214,0.091,0.116\}$.
from scipy.stats import entropy

distribution1 = 0.015, 0.122, 0.058, 0.019, 0.178, 0.132, 0.016, 0.036, 0.036, 0.304
distribution2 = 0.049, 0.014, 0.065, 0.038, 0.079, 0.129, 0.102, 0.214, 0.091, 0.116
print(entropy(distribution1, qk=distribution2))
