is there a more efficient way to split a column based on characters?
I have a column named 'email' and I want to create a new column named 'company' that will take strings after the '@' up until the first '.' .
finaldf['email'].head(3) 0 [email protected] 1 [email protected] 2 [email protected]
I was able to figure out a way of doing it but it would take a couple of steps (lines of code)