tabsdata.tableframe.functions.datetime
TdExprDateTimeNameSpace
classView source ↗
class TdExprDateTimeNameSpace(expr: ExprDateTimeNameSpace)
method
View source ↗add_business_daysdef add_business_days(
n: int | IntoTdExpr,
week_mask: Iterable[bool] = (True, True, True, True, True, False, False),
holidays: Iterable[date] = (),
roll: Roll = 'raise',
) -> TdExpr
method
View source ↗replacedef replace(
year: int | IntoTdExpr | None = None,
month: int | IntoTdExpr | None = None,
day: int | IntoTdExpr | None = None,
hour: int | IntoTdExpr | None = None,
minute: int | IntoTdExpr | None = None,
second: int | IntoTdExpr | None = None,
microsecond: int | IntoTdExpr | None = None,
ambiguous: Ambiguous | TdExpr = 'raise',
) -> TdExpr
method
View source ↗replace_time_zonedef replace_time_zone(
time_zone: str | None,
ambiguous: Ambiguous | TdExpr = 'raise',
non_existent: NonExistent = 'raise',
) -> TdExpr