I am struggling to create two new columns based on string in another column.
what I have
Profile
0 Technician
1 Service Engineer
2 Sales and Service Support Engineer
what I like to have
First Last
0 Technician NaN
1 Service Engineer
2 Sales Engineer
My attempt was to use solutions like
new = tl['Profile'].str.split(' ')
tl['First'] = new[0]
tl['Last'] = new[1]
But this is correct only for First.