I have a complex Dictionary that I want to unpack into a single DataFrame but I cannot figure it out. I want to unpack the data contained in 'rows' (ie all of is contained within []) into a single DataFrame ('rows') I have tried lots of combinations of accessing inside the Dictionary to no avail.
Here's the data:
{None: {'transfers': {'1': {'rows': [{'pointOfSaleID': 2,
'initialAmount': '£0.00',
'opened': 'xx, 27/11/2018 11:58',
'dayIncome': '£336.23',
'cash': [{'dateTime': '27/11/2018 18:23',
'employeeName': 'xx',
'sum': '-£45.00',
'comment': 'cabs to collect in store stock\nEvents'}],
'cashTotal': '£291.23',
'cashExpected': '£291.23',
'closed': 'xx, 27/11/2018 20:54',
'banked': '£0.00',
'left': '£0.00',
'totalCounted': '£0.00',
'difference': '-£291.23',
'varianceReason': '',
'totalTransactions': 48},
{'pointOfSaleID': 2,
'initialAmount': '£0.00',
'opened': 'xx, 28/11/2018 09:16',
'dayIncome': '£35.94',
'cashTotal': '£35.94',
'cashExpected': '£35.94',
'closed': '----',
'banked': '----',
'left': '----',
'totalCounted': '----',
'difference': '----',
'varianceReason': '',
'totalTransactions': 3}...]
How can I access just the data within rows and unpack it into a DataFrame?