dask.dataframe.groupby.DataFrameGroupBy.first

DataFrameGroupBy.first(split_every=None, split_out=1)

Compute first of group values.

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

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 first of values within each group.