daft.expressions.expressions.ExpressionDatetimeNamespace.day#

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

Retrieves the day for a datetime column

Example

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

a UInt32 expression with just the day extracted from a datetime column

Return type

Expression