human
Pandas DataFrame, how do i split a column into two
assistant
Here is some code to split column 'AB' in dataframe `df` into two columns by first whitespace ' '

df['AB'].str.split(' ', 1, expand=True)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.