I have this dataframe as shown below:
data = [[\'AK\',\'Coal\',24457], [\'AK\',\'Natural \',222867], [\'AK\',\'Other \',15], [\'AK\',\'Petro\',83848], [\'AL\'