import pandas as pd data = pd.DataFrame {\'ratio\' : [0.25,0.20,0.45,0.10], \'range\': [\'1-25\',\'26-50\',\'51-75\',\'76-100\']} degree = pd.DataFrame ({\'