日期時間支援函數#

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 當天。