string#

class jsonpolars.expr.string.String(type: str = 'string', expr: T_EXPR = Sentinel('REQUIRED'))[source]#

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

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

Construct an instance from dataclass-like data. It could be a dictionary, an instance of this class, or None.

class jsonpolars.expr.string.Split(type: str = 'str_split', expr: T_EXPR = Sentinel('REQUIRED'), by: str = Sentinel('REQUIRED'), inclusive: bool = False)[source]#

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

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

Construct an instance from dataclass-like data. It could be a dictionary, an instance of this class, or None.

class jsonpolars.expr.string.StrJoin(type: str = 'str_join', expr: T_EXPR = Sentinel('REQUIRED'), delimiter: str = '', ignore_nulls: bool = True)[source]#

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

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

Construct an instance from dataclass-like data. It could be a dictionary, an instance of this class, or None.

class jsonpolars.expr.string.StrContains(type: str = 'str_contains', expr: T_EXPR = Sentinel('REQUIRED'), pattern: Union[str, T_EXPR] = Sentinel('REQUIRED'), literal: bool = False, strict: bool = True)[source]#

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

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

Construct an instance from dataclass-like data. It could be a dictionary, an instance of this class, or None.

class jsonpolars.expr.string.StrDecode(type: str = 'str_decode', expr: T_EXPR = Sentinel('REQUIRED'), encoding: str = Sentinel('REQUIRED'), strict: bool = True)[source]#

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

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

Construct an instance from dataclass-like data. It could be a dictionary, an instance of this class, or None.

class jsonpolars.expr.string.StrEncode(type: str = 'str_encode', expr: T_EXPR = Sentinel('REQUIRED'), encoding: str = Sentinel('REQUIRED'))[source]#

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

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

Construct an instance from dataclass-like data. It could be a dictionary, an instance of this class, or None.

class jsonpolars.expr.string.StrStartsWith(type: str = 'str_starts_with', expr: T_EXPR = Sentinel('REQUIRED'), prefix: Union[str, T_EXPR] = Sentinel('REQUIRED'))[source]#

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

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

Construct an instance from dataclass-like data. It could be a dictionary, an instance of this class, or None.

class jsonpolars.expr.string.StrEndsWith(type: str = 'str_ends_with', expr: T_EXPR = Sentinel('REQUIRED'), suffix: Union[str, T_EXPR] = Sentinel('REQUIRED'))[source]#

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

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

Construct an instance from dataclass-like data. It could be a dictionary, an instance of this class, or None.