📜  pandas 按空格分割 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:32.410000             🧑  作者: Mango

代码示例1
# importing pandas module  
import pandas as pd 

# new data frame with split value columns 
data["Team"]= data["Team"].str.split(" ", n = 1, expand = True) 

# df display 
data