I have a dataframe:
Values 1,2 nan,7,8 4 9,1 How can I split this column so that each value is now in its own column?
col1 col2 col3 1 2 nan 7 8 4 9 1 The only answers I have found are about splitting a column into two columns. How to split a column into two columns?
df['Values'].str.split(',',expand=True)?