🌈 搜索
📅  最后修改于: 2022-03-11 14:45:28.445000             🧑  作者: Mango
df1['StateInitial'] = df1['State'].str[:2] print(df1)