pandas.IntervalDtype
- classpandas.IntervalDtype(subtype=None, closed=None)[source]
-
ExtensionDtype для данных Interval.
Это не настоящий dtype numpy, а duck-тип.
- Параметры:
-
- subtype:str, np.dtype
-
Тип данных границ Interval.
Атрибуты
Тип данных границ Interval.
Методы
None
Примеры
>>> pd.IntervalDtype(subtype='int64', closed='both') interval[int64, both]
© 2008–2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
© 2011–2025, Open source contributors
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/2.3.0/reference/api/pandas.IntervalDtype.html