日期时间支持函数#

datetime_as_string(arr[, unit, timezone, ...])

将日期时间数组转换为字符串数组。

datetime_data(dtype, /)

获取有关日期或时间类型的步长大小的信息。

工作日函数#

busdaycalendar([weekmask, holidays])

一个工作日日历对象,可高效存储定义 busday 系列函数有效日期的信息。

is_busday(dates[, weekmask, holidays, ...])

计算给定日期中有哪些是有效工作日,哪些不是。

busday_offset(dates, offsets[, roll, ...])

首先根据 roll 规则将日期调整为有效日期,然后根据有效日期计算给定的日期偏移量。

busday_count(begindates, enddates[, ...])

计算 begindatesenddates 之间的有效工作日数,不包括 enddates 当天。