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
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
8# df display
9data
10