dask.dataframe.groupby.SeriesGroupBy.last

SeriesGroupBy.last(split_every=None, split_out=1)

Compute last of group values.

This docstring was copied from pandas.core.groupby.groupby.GroupBy.last.

Some inconsistencies with the Dask version may exist.

Parameters
numeric_onlybool, default False (Not supported in Dask)

Include only float, int, boolean columns. If None, will attempt to use everything, then use only numeric data.

min_countint, default -1 (Not supported in Dask)

The required number of valid values to perform the operation. If fewer than min_count non-NA values are present the result will be NA.

Returns
Series or DataFrame

Computed last of values within each group.