GroupBy.
last
Compute last of group values.
See also
pyspark.pandas.Series.groupby
pyspark.pandas.DataFrame.groupby
previous
pyspark.pandas.groupby.GroupBy.first
next
pyspark.pandas.groupby.GroupBy.max