My homework is giving me a hard time with pyspark. I have this view of my "df2" after a groupBy:
df2.groupBy(\'years\').count().show() +-----+-----