I have the following dataframe named election.raw with the following form:
now I am interested in grouping the dataframe by state so if I run the following co