Group By And Reduce By In Pyspark