I have a DataFrame like this
pd.DataFrame([{'ISO3': 'AFG', 'indicator_value': {'137506':{'2012':0.489, '2014':0.49}}}])
While I need a DataFrame in this format:
pd.DataFrame([{'indicator_ID':137506, 'ISO3': 'AFG', '2012': 0.489, '2014':0.49},
{'indicator_ID':137506, 'ISO3': 'ALB', '2012': 0.49, '2014':0.5}])