daft.functions.timestamp_seconds#
timestamp_seconds #
timestamp_seconds(expr: Expression) -> Expression
Creates a timestamp from seconds since Unix epoch.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
expr | Expression | A numeric expression representing seconds since epoch. | required |
Returns:
| Name | Type | Description |
|---|---|---|
Expression | Expression | a Timestamp[us] expression. |
Examples:
1 2 3 4 5 | |
True Source code in daft/functions/datetime.py
1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 | |