pandas.api.types.is_iterator

pandas 3.1.1 · Arrays, scalars, and data types · function

Check for an object that supports getting its next value.

Call syntax

pd.api.types.is_iterator(obj)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
obj Required
Positional or keyword
The object to check

Provide the pandas object, scalar, or array-like input described in the accepted values.

Returns

is_iter · bool