pandas / 0.25.0 / reference / api / pandas.core.resample.resampler.first.html /

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.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.core.resample.Resampler.first.html