tabsdata.tableframe.functions.datetime
Expr.dt
classView source ↗
class ExprDateTimeNameSpace(expr: ExprDateTimeNameSpace)
add_business_days()base_utc_offset()cast_time_unit()century()combine()convert_time_zone()date()datetime()day()dst_offset()epoch()hour()is_leap_year()iso_year()microsecond()millennium()millisecond()minute()month()month_end()month_start()nanosecond()offset_by()ordinal_day()quarter()replace_time_zone()second()strftime()time()timestamp()to_string()total_days()total_hours()total_microseconds()total_milliseconds()total_minutes()total_nanoseconds()total_seconds()truncate()week()weekday()with_time_unit()year()
method
View source ↗replacedef replace(
year: int | td_IntoExpr | None = None,
month: int | td_IntoExpr | None = None,
day: int | td_IntoExpr | None = None,
hour: int | td_IntoExpr | None = None,
minute: int | td_IntoExpr | None = None,
second: int | td_IntoExpr | None = None,
microsecond: int | td_IntoExpr | None = None,
ambiguous: td_Ambiguous | Expr = 'raise',
) -> Expr