I have a list that I am trying to split into a pandas data frame. I can split simple lists by comma, but there are commas in the values that I need to split. Here is the way my list is setup:
[{'Name':'Smith, John','Date of Birth':datetime.datetime(2016, 5, 10, 0, 0),'Email Address':'[email protected]'},
{'Name':'Smith, Jane','Date of Birth':datetime.datetime(2010, 6, 5, 0, 0),'Email Address':'[email protected]'},
{'Name':'Doe, Monica','Date of Birth':datetime.datetime(2012, 10, 3, 0, 0),'Email Address':'[email protected]'}]
I have tried various ways to split the data, but it always comes out odd. The expected result should have been:
Name Date of Birth Email Address
0 Smith, John 05-10-2016 [email protected]
1 Smith, Jane 06-05-2010 [email protected]
2 Doe, Monica 10-03-2012 [email protected]
but I keep getting things like below where the title is still in the column.
'Name':'Smith, John'
Any help would be greatly appreciated