pandas.core.groupby.GroupBy.all

GroupBy.all(skipna=True)[source]

Return True if all values in the group are truthful, else False.

Parameters
skipnabool, default True

Flag to ignore nan values during truth testing.

Returns
bool

See also

Series.groupby
DataFrame.groupby