separate column of dataframe based on delimiter code example
Example: how to use split in pandas
import pandas as pd
# new data frame with split value columns
data["Team"]= data["Team"].str.split(" ", n = 1, expand = True)
# df display
data
import pandas as pd
# new data frame with split value columns
data["Team"]= data["Team"].str.split(" ", n = 1, expand = True)
# df display
data