Split pandas dataframe based on values in a column using groupby I want to split the following dataframe based on column ZZ