1# importing pandas module
2import pandas as pd
3
4# new data frame with split value columns
5data["Team"]= data["Team"].str.split(" ", n = 1, expand = True)
6
7# df display
8data
1import pandas as pd
2
3# new data frame with split value columns
4data["Team"]= data["Team"].str.split(" ", n = 1, expand = True)
5
6# df display
7data