Skip to content

ExprDateTimeNameSpace.microsecond

Same as polars.Expr.dt.microsecond

Source code in pyquokka/expression.py
325
326
327
328
329
330
331
def microsecond(self):

    """
    Same as polars.Expr.dt.microsecond
    """

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