daft.expressions.expressions.ExpressionDatetimeNamespace.date#

ExpressionDatetimeNamespace.date() daft.expressions.expressions.Expression[source]#

Retrieves the date for a datetime column

Example

>>> col("x").dt.date()
Returns

a Date expression

Return type

Expression