I would like to extract all cases where digits appear in a list in my a column in my dataframe
Using this as a sample:
':[{"id":836890 name:"Rob Rubnitz" scorecard:[40 35]} {"id":401538 name:"Steve Weisfeld" scorecard:[40 35]} {"id":799385 name:"Marc Werlinsky" scorecard:[40 35]}] '
I would like to extract [40 35] [40 35] [40 35] and have these as the numbers appearing in the updated column.
This is what I tried:
data['col'].str.extract('scorecard:(?P<scorecards>.*?)}')
The problem is that this only extracts the first scorecard from my column