ExprDateTimeNameSpace.offset_by
Functionally same as polars.Expr.dt.offset_by. However arguments are different.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
num |
int or float
|
number of units to offset by |
required |
unit |
str
|
unit of offset. One of "ms", "s", "m", "h", "d", "M", "y" |
required |
Source code in pyquokka/expression.py
365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
|