I have a dictionary that looks like this:
{'data': [['748','','285','102','76024']]}
and I want to flatten the lists to look like this:
{'data': ['748','','285','102','76024']}
I have tried this from here:
[item for sublist in data.items() for item in sublist]
but it gives me:
['data', [['748', '', '285', '102', '76024', '88', '3', '89%831', '77%', '', '68%632', '19%177', '13%120']]]