I have these items on a dataframe column and would want to split them into various components and have each component on a different column. For instance, I want to split c5-0c0s9a0l14
so that i will have c5 | 0|c0|s9|a0|l14
I'm not sure how to do this but will appreciate any assistance with it
I tried doing this but it's not working
df[['item', 'val']] = df['COMPONENT_NAME'].str.split('-', expand=True)