how to split dataframe by column in python code example Example: dataframe split column df[['First','Last']] = df.Name.str.split(" ", expand=True)