import pandas as pd employees = pd.read_excel('D:/Temp/Employees.xlsx',index_col='ID') df = employees['Full Name'].str.split(expand = True) #expand 分成2列 employees['Firest Name'] =df[0] employees['Last Name']=df[1].str.upper() #大写 print(employees)