I have a dataframe with one of the columns being a list like so:
RefID | Ref |
---|---|
Ref1 | (baby, 60, 0) |
Ref2 | (something, 90, 2) |
I wanted to extract this list as separate fields, as in this code:
df['MatchWord'], df['Prox'], df['MatchID'] = df.Ref.str
But I get the "FutureWarning: Columnar iteration..." error. How else can I split this list-column?