pandas / 0.25.0 / reference / api / pandas.intervaldtype.html /

pandas.IntervalDtype

class pandas.IntervalDtype [source]

An ExtensionDtype for Interval data.

This is not an actual numpy dtype, but a duck type.

Parameters:
subtype : str, np.dtype

The dtype of the Interval bounds.

Examples

>>> pd.IntervalDtype(subtype='int64')
interval[int64]

Attributes

subtype The dtype of the Interval bounds.

Methods

None

© 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.25.0/reference/api/pandas.IntervalDtype.html