pandas.api.types.is_datetime64_dtype
pandas 3.1.1 · Arrays, scalars, and data types · function
Check whether the input uses a NumPy datetime64 dtype.
Call syntax
pd.api.types.is_datetime64_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