I have a problem in converting a dataframe into lists. I grouped the dataframe to count how many unique values occurring in the dataframe and the code that I used and the ou