API#

polars_xdt.date_range([holidays])

Create a range of dates with a given interval and filter out weekends and holidays.

polars_xdt.ceil(expr, every)

Find "ceiling" of datetime.

polars_xdt.day_name(expr[, locale])

Return day name, in specified locale (if specified).

polars_xdt.format_localized(expr, format[, ...])

Convert to local datetime in given time zone.

polars_xdt.from_local_datetime(expr, ...[, ...])

Convert from local datetime in given time zone to new timezone.

polars_xdt.is_workday(expr, *[, weekend, ...])

Determine whether a day is a workday.

polars_xdt.month_name(expr[, locale])

Return month name, in specified locale (if specified).

polars_xdt.month_delta(start_dates, end_dates)

Calculate the number of months between two Series.

polars_xdt.to_local_datetime(expr, time_zone)

Convert to local datetime in given time zone.

polars_xdt.to_julian_date(expr)

Return the Julian date corresponding to given datetimes.