Expand nested list of dictionaries in a pandas dataframe column
问题 I have this dataframe called "leads" I got from saving the output of an SFDC SOQL into a dataframe. I have been trying to expand column "Leads__r.record" Company Month Amount Leads__r.done Leads__r.record Leads__r.totalSize 0 A1 September 500000 True [{u'Id': u'Q500, u'Company': u'... 1.0 1 B1 December 16200 True [{u'Id': u'Q600', u'Company': u'... 1.0 2 C1 December 35000 True [{u'Id': u'Q700', u'Company': u'... 1.0 3 D1 December 16200 True [{u'Id': u'Q800', u'Company': u'... 1.0 4 E1