pandas.IntervalDtype¶
-
class
pandas.IntervalDtype[source]¶ A Interval duck-typed class, suitable for holding an interval
THIS IS NOT A REAL NUMPY DTYPE
Attributes
namesOrdered list of field names, or None if there are no fields. typeThe 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