1. how to split a dataframe into several ones but grouping similar rows in the same ones

    how to split a dataframe into several ones but grouping similar rows in the same ones