is_business_day

Function is_business_day 

Source
pub fn is_business_day(
    dates: &Series,
    week_mask: [bool; 7],
    holidays: &[i32],
) -> Result<Series, PolarsError>
Expand description

Determine if a day lands on a business day.

ยงArguments

  • week_mask: A boolean array of length 7, where true indicates that the day is a business day.
  • holidays: timestamps that are holidays. Must be provided as i32, i.e. the number of days since the UNIX epoch.