cudf.core.dtypes.Decimal64Dtype.is_dtype#

classmethod Decimal64Dtype.is_dtype(dtype: object) bool[source]#

Check if we match ‘dtype’.

Parameters:
dtypeobject

The object to check.

Returns:
bool

Notes

The default implementation is True if

  1. cls.construct_from_string(dtype) is an instance of cls.

  2. dtype is an object and is an instance of cls

  3. dtype has a dtype attribute, and any of the above conditions is true for dtype.dtype.