I have a dataframe like so:
| Store | matches |
|---|---|
| Murphy's | [{'domain': 'murphyscolumbus.com', 'location': 'Columbus, OH'}, {'domain': 'murphystampa.com', 'location': 'Tampa, FL'}] |
| Bill's | [{'domain': 'billsdallas.com', 'location': 'Dallas, TX'}, {'domain': 'billsorlando.com', 'location': 'Orlando, FL'}] |
What I want is a dataframe like so:
| Store | domains |
|---|---|
| Murphy's | ['murphyscolumbus.com', 'murphystampa.com'] |
| Bill's | ['billsdallas.com','billsorlando.com'] |
I'm hoping for something less computationally expensive than something like a for loop that steps through as the dataframe is quite large.