numpy 2.0.0
NpyBusDayCalendar Struct Reference

#include <datetime_busdaycal.h>

Data Fields

PyObject_HEAD npy_holidayslist holidays
int busdays_in_weekmask
npy_bool weekmask [7]

Detailed Description

This object encapsulates a weekmask and normalized holidays list, so that the business day API can use this data without having to normalize it repeatedly. All the data of this object is private and cannot be modified from Python. Copies are made when giving the weekmask and holidays data to Python code.

Field Documentation


The documentation for this struct was generated from the following file: