pandas.core.groupby.GroupBy.any

GroupBy.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.23.4/generated/pandas.core.groupby.GroupBy.any.html