Im trying to optimise the way I calculate scipy entropy by trying to do it via groupby.
My dataset looks like this and Im trying to find the entropy per \'lsoa11cd\' area