Apr-17-2020, 04:44 PM
I split a dataframe column..
df['new_col'] = df['col'].str.split('aa', expand=False)
Now how do I get the individual list values in 'new_col'?
df['new_col'] = df['col'].str.split('aa', expand=False)
Now how do I get the individual list values in 'new_col'?