daft.functions.partition_years#
partition_years #
partition_years(expr: Expression) -> Expression
Partitioning Transform that returns the number of years since epoch (1970-01-01).
Returns:
| Name | Type | Description |
|---|---|---|
Expression | Expression | Int32 Expression in years |
Source code in daft/functions/partition.py
37 38 39 40 41 42 43 | |