I would like to compute the histogram bin corresponding to the mean value given this dataframe:
class Area
0 1-10 1.675883e+06
1 11-20 1.026733e+06
2 21-30 6.102651e+05
3 31-40 6.281576e+05
4 41-50 4.710967e+05
5 51-60 4.236068e+05
6 61-70 4.015372e+05
7 71-80 3.619052e+05
8 81-90 3.386376e+05
9 91-100 3.333406e+05
10 101-110 2.423542e+05
11 111-120 2.388251e+05
12 121-130 1.440134e+05
13 131-140 1.849219e+05
14 141-150 5.982432e+06
So, the answer should be which class corresponds to the mean value. The mean value is based on the area of each class. Not sure how to proceed with this.
The answer will be the name of the class corresponding to the mean e.g. 31 - 40