Skip to content

ExprDateTimeNameSpace.hour

Same as polars.Expr.dt.hour

Source code in pyquokka/expression.py
293
294
295
296
297
298
299
def hour(self):

    """
    Same as polars.Expr.dt.hour
    """

    return Expression(F.hour(self.expr.sqlglot_expr))