pyarrow.month_day_nano_interval¶
- pyarrow.month_day_nano_interval()¶
Create instance of an interval type representing months, days and nanoseconds between two dates.
Examples
Create an instance of an month_day_nano_interval type:
>>> import pyarrow as pa >>> pa.month_day_nano_interval() DataType(month_day_nano_interval)
Create a scalar with month_day_nano_interval type:
>>> pa.scalar((1, 15, -30), type=pa.month_day_nano_interval()) <pyarrow.MonthDayNanoIntervalScalar: MonthDayNano(months=1, days=15, nanoseconds=-30)>