function#

class jsonpolars.expr.function.Lit(type: str = 'func_lit', value: Any = Sentinel('REQUIRED'), dtype: Optional[DataType] = None, allow_object: bool = False)[source]#

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

class jsonpolars.expr.function.ConcatStr(type: str = 'func_concat_str', exprs: ~typing.List[IntoExpr] = <factory>, separator: str = ' ', ignore_nulls: bool = False)[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.concat_str.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.function.ConcatList(type: str = 'func_concat_list', exprs: ~typing.List[IntoExpr] = <factory>)[source]#

Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.concat_list.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.