https://quadexcel.com/wp/48-databricks-pyspark-find-top-or-bottom-n-rows-per-group/
48. Databricks - Pyspark: Find Top or Bottom N Rows per Group