Human: pandas split string into columns Assistant: 
Here is some code to split string in column 'stats' by ',' into separate columns in dataframe `df`

df['stats'].str[1:-1].str.split(',').apply(pd.Series).astype(float)

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