I have a function which groups the rows of a df, according the value of a column "sup", and convert these groups into strings (for further processing).