pandas.api.types.is_object_dtype
pandas 3.1.1 · Arrays, scalars, and data types · function
Check whether the input uses the generic NumPy object dtype.
Call syntax
pd.api.types.is_object_dtype(arr_or_dtype)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
arr_or_dtype |
Required Positional or keyword |
array-like or dtype Provide an array or dtype specification for the type check. |
Returns
boolean