daft.Expression.dt.second

daft.Expression.dt.second#

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

Retrieves the second for a datetime column

Example

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

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

Return type:

Expression