I am trying to convert a list of lists to a list of dicts, the list is like,
['A', '100000', Timestamp('2017-01-01 00:00:00'), '003']
['B', '100001', Timestamp('2017-02-01 00:00:00'), '004']
I want to convert it to a list of dicts like,
{'name': 'A', 'id': '100000', 'time': Timestamp('2017-01-01 00:00:00'), 'number': '003'}
{'name': 'B', 'id': '100001', 'time': Timestamp('2017-02-01 00:00:00'), 'number': '004'}
I am wondering what's the best way to do it.