split list of one column to multiple columns python code example
Example: pandas split column into multiple columns by delimiter
df[['A', 'B']] = df['AB'].str.split(' ', 1, expand=True)
df[['A', 'B']] = df['AB'].str.split(' ', 1, expand=True)