open_in_new
content_copy
df[['A', 'B']] = df['AB'].str.split(' ', 1, expand=True)