I need to convert a list of nested dictionary into Pandas Dataframe. My list is the following:
data = [{"2016-09-24":{"totalRevenue":123, "netIncome":456, "ebit":789}}, {"2015-09-24":{"totalRevenue":789, "netIncome":456, "ebit":123}}]
I want to transform the list into something like this, where the dates are column-headers and the rows are the keys to the values in the nested dicts.
I have tried different things, e.g.: https://www.tutorialspoint.com/python-convert-list-of-nested-dictionary-into-pandas-dataframe
But i can't seem to fix my problem.
I hope this makes sense and thanks for your help :-)
Update: I have found a solution :-)