pandas.core.groupby.DataFrameGroupBy.any

DataFrameGroupBy.any(skipna=True) [source]

Returns True if any value in the group is truthful, else False.

Parameters:
skipna : bool, default True

Flag to ignore nan values during truth testing

© 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.24.2/reference/api/pandas.core.groupby.DataFrameGroupBy.any.html