dt#

class jsonpolars.expr.dt.Datetime(type: str = 'datetime', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/temporal.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtToString(type: str = 'dt_to_string', expr: T_EXPR = _REQUIRED(), format: str = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.to_string.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtYear(type: str = 'dt_year', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.year.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtQuarter(type: str = 'dt_quarter', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.quarter.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtMonth(type: str = 'dt_month', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.month.html

classmethod from_dict(dct: _REQUIRED())[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtDay(type: str = 'dt_day', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.day.html

classmethod from_dict(dct: _REQUIRED())[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtHour(type: str = 'dt_hour', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.hour.html

classmethod from_dict(dct: _REQUIRED())[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtMinute(type: str = 'dt_minute', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.minute.html

classmethod from_dict(dct: _REQUIRED())[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtSecond(type: str = 'dt_second', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.second.html

classmethod from_dict(dct: _REQUIRED())[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtNanoSecond(type: str = 'dt_nanosecond', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.nanosecond.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtEpoch(type: str = 'dt_epoch', expr: T_EXPR = _REQUIRED(), time_unit: str = _NOTHING())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.epoch.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTimestamp(type: str = 'dt_timestamp', expr: T_EXPR = _REQUIRED(), time_unit: str = _NOTHING())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.timestamp.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTotalDays(type: str = 'dt_total_days', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.total_days.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTotalHours(type: str = 'dt_total_hours', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.total_hours.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTotalMinutes(type: str = 'dt_total_minutes', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.total_minutes.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTotalSeconds(type: str = 'dt_total_seconds', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.total_seconds.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTotalMilliSeconds(type: str = 'dt_total_milliseconds', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.total_milliseconds.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTotalMicroSeconds(type: str = 'dt_total_microseconds', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.total_microseconds.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTotalNanoSeconds(type: str = 'dt_total_nanoseconds', expr: T_EXPR = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.total_nanoseconds.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

class jsonpolars.expr.dt.DtTruncate(type: str = 'dt_truncate', expr: T_EXPR = _REQUIRED(), every: Union[str, timedelta, T_EXPR] = _REQUIRED())[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.dt.truncate.html

classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.