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.