pandas.core.resample.Resampler.first

Resampler.first(self, _method='first', *args, **kwargs)[source]

Compute first of group values.

Returns
Series or DataFrame

Computed first of values within each group.