concept min() in category pyspark
appears as: min()

This is an excerpt from Manning's book Data Analysis with Python and PySpark.
In chapter 3, we brought back the
GroupedDatainto a data frame by using thecount()method, which returns the count of each group. There are a few other, such asmin(),max(),mean()orsum(). We could have used thesum()method directly, but we wouldn’t have had the option of aliasing the resulting column, getting stuck withsum(duration_seconds)for a name. Instead, we use the oddly namedagg().