pandas.core.groupby.DataFrameGroupBy.any

DataFrameGroupBy.any(self, skipna=True)[source]

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

Parameters:
skipna : bool, default True

Flag to ignore nan values during truth testing

Returns:
bool

See also

Series.groupby
DataFrame.groupby
Scroll To Top