On this page
pandas.core.groupby.GroupBy.first
GroupBy.first(self, **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.groupby.GroupBy.first.html