pandas.IntervalDtype

class pandas.IntervalDtype [source]

A Interval duck-typed class, suitable for holding an interval

THIS IS NOT A REAL NUMPY DTYPE

Attributes

names Ordered list of field names, or None if there are no fields.
type The scalar type for the array, e.g.
kind
subdtype

Methods

construct_array_type() Return the array type associated with this dtype
construct_from_string(string) attempt to construct this type from a string, raise a TypeError if its not possible
is_dtype(dtype) Return a boolean if we if the passed type is an actual dtype that we can match (via string or type)
reset_cache() clear the cache

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.IntervalDtype.html