daft.functions.partition_months#
partition_months #
partition_months(expr: Expression) -> Expression
Partitioning Transform that returns the number of months since epoch (1970-01-01).
Returns:
| Name | Type | Description |
|---|---|---|
Expression | Expression | Int32 Expression in months |
Source code in daft/functions/partition.py
28 29 30 31 32 33 34 | |