Skip to content

时间日期相关

方法描述
datetime_as_string(arr[, unit, timezone, …])将日期时间数组转换为字符串数组。
datetime_data(dtype, /)获取有关日期或时间类型的步长的信息。

工作日函数

方法描述
busdaycalendar([weekmask, holidays])一个工作日日历对象,它有效地存储定义Busday系列函数的有效天数的信息。
is_busday(dates[, weekmask, holidays, …])计算给定日期中哪些是有效日期,哪些不是。
busday_offset(dates, offsets[, roll, …])首先根据滚动规则将日期调整为属于有效日期,然后将偏移量应用于有效日期中计算的给定日期。
busday_count(begindates, enddates[, …])计算介于beginupdates和结束日期之间的有效天数,不包括结束日期。

基于 MIT 许可发布 共建 共享 共管