pandas.api.extensions.ExtensionDtype.is_dtype
pandas 3.1.1 · Extensions · method
Check whether a value or dtype specification matches the extension dtype class.
Call syntax
pd.api.extensions.ExtensionDtype.is_dtype(dtype)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
dtype |
Required Positional or keyword |
object Choose the data type for the input conversion or result. |
Returns
bool