I have a CSV file that has a name and email column. My goal is to map a new column, which is to separate the column names into two columns, first names and last names. The following sample table.
Names, Email
aa bb, aa@bb.com
bb cc, bb@cc.com
cc dd, cc@dd.com
To be
First Name, Last Name, Email
aa, bb, aa@bb.com
bb, cc, bb@cc.com
cc, dd, cc@dd.com
honestly, I am currently only able to read files with Pandas, I have read a number of articles about mapping in Pandas, but I have not found the right one.
Thank you.