Expr.dt.add_business_days(n, *[, week_mask, ...])
|
偏移 n 个工作日。 |
Expr.dt.base_utc_offset()
|
与UTC的基本偏移量。 |
Expr.dt.cast_time_unit(time_unit)
|
将基础数据转换为另一个时间单位。 |
Expr.dt.century()
|
从基础表示中提取世纪。 |
Expr.dt.combine(时间[, 时间单位])
|
从现有的日期/日期时间表达式和时间创建一个简单的日期时间。 |
Expr.dt.convert_time_zone(time_zone)
|
将类型为Datetime的表达式转换为给定的时区。 |
Expr.dt.date()
|
从日期(时间)中提取日期。 |
Expr.dt.datetime()
|
返回日期时间。 |
Expr.dt.day()
|
从底层日期表示中提取天数。 |
Expr.dt.dst_offset()
|
当前生效的额外偏移量(通常是由于夏令时)。 |
Expr.dt.epoch([time_unit])
|
获取自Unix纪元以来经过的时间,以给定的时间单位表示。 |
Expr.dt.hour()
|
从底层的DateTime表示中提取小时。 |
Expr.dt.is_leap_year()
|
确定基础日期的年份是否为闰年。 |
Expr.dt.iso_year()
|
从底层日期表示中提取ISO年份。 |
Expr.dt.microsecond()
|
从底层的DateTime表示中提取微秒。 |
Expr.dt.millennium()
|
从基础表示中提取千年。 |
Expr.dt.millisecond()
|
从底层的DateTime表示中提取毫秒。 |
Expr.dt.minute()
|
从底层的DateTime表示中提取分钟。 |
Expr.dt.month()
|
从基础日期表示中提取月份。 |
Expr.dt.month_end()
|
滚动到本月的最后一天。 |
Expr.dt.month_start()
|
回滚到该月的第一天。 |
Expr.dt.nanosecond()
|
从底层的DateTime表示中提取纳秒。 |
Expr.dt.offset_by(by)
|
将此日期偏移一个相对时间偏移量。 |
Expr.dt.ordinal_day()
|
从基础日期表示中提取序数日。 |
Expr.dt.quarter()
|
从基础日期表示中提取季度。 |
Expr.dt.replace(*[, year, month, day, hour, ...])
|
替换时间单位。 |
Expr.dt.replace_time_zone(time_zone, *[, ...])
|
替换类型为Datetime的表达式中的时区。 |
Expr.dt.round(every)
|
将日期/日期时间范围划分为桶。 |
Expr.dt.second(*[, fractional])
|
从底层的DateTime表示中提取秒数。 |
Expr.dt.strftime(format)
|
将日期/时间/日期时间列转换为具有给定格式的字符串列。 |
Expr.dt.time()
|
提取时间。 |
Expr.dt.timestamp([时间单位])
|
返回给定时间单位的时间戳。 |
Expr.dt.to_string([format])
|
将日期/时间/日期时间列转换为具有给定格式的字符串列。 |
Expr.dt.total_days()
|
从Duration类型中提取总天数。 |
Expr.dt.total_hours()
|
从Duration类型中提取总小时数。 |
Expr.dt.total_microseconds()
|
从Duration类型中提取总微秒数。 |
Expr.dt.total_milliseconds()
|
从Duration类型中提取总毫秒数。 |
Expr.dt.total_minutes()
|
从Duration类型中提取总分钟数。 |
Expr.dt.total_nanoseconds()
|
从Duration类型中提取总纳秒数。 |
Expr.dt.total_seconds()
|
从Duration类型中提取总秒数。 |
Expr.dt.truncate(every)
|
将日期/日期时间范围划分为桶。 |
Expr.dt.week()
|
从基础日期表示中提取周数。 |
Expr.dt.weekday()
|
从底层的日期表示中提取星期几。 |
Expr.dt.with_time_unit(time_unit)
|
设置数据类型为Datetime或Duration的表达式的时间单位。 |
Expr.dt.year()
|
从底层日期表示中提取年份。 |