I was wondering which is the fastest way to count how many samples belong to a specific cluster and find their max and min values after clustering in Pyspark.
Current