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

Scroll To Top