pandas.DataFrame.all
pandas 3.1.1 · DataFrame · method
Test whether every value along the selected axis or group evaluates to true.
Call syntax
DataFrame.all(*, axis=0, bool_only=False, skipna=True, **kwargs)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
axis |
Optional Keyword only Default 0 |
{0 or 'index', 1 or 'columns', None} Choose which axis the operation acts on. The accepted axis labels depend on the receiver. |
bool_only |
Optional Keyword only Default False |
bool Restrict eligible inputs to boolean data. |
skipna |
Optional Keyword only Default True |
bool Choose whether to exclude missing values during the calculation. |
**kwargs |
Optional Additional keyword arguments |
Returns
Series or scalar