I have a data frame that has three columns, and one of them contains a list:
A B C
1 Row1 [rowa,rowb,rowc]
2 Row2 [rowd,rowg,rowf]
I want to split only the list in column C, in different columns, but without loosing data in column A and B.
I tried this:
df = df['C'].apply(pd.Series)
However, this creates a new data frame, and it looses values in column A and B
How can I split column C into different columns, while keeping values in column A and B?