Skip to content

ExprDateTimeNameSpace.millisecond

Same as polars.Expr.dt.millisecond

Source code in pyquokka/expression.py
317
318
319
320
321
322
323
def millisecond(self):

    """
    Same as polars.Expr.dt.millisecond
    """

    return Expression(sqlglot.dataframe.sql.Column(sqlglot.exp.Anonymous(this = "millisecond", expressions = [self.expr.sqlglot_expr.expression])))