daft.Expression.dt.month

daft.Expression.dt.month#

Expression.dt.month() Expression[source]#

Retrieves the month for a datetime column

Example

>>> col("x").dt.month()
Returns:

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

Return type:

Expression