struct#
- class jsonpolars.expr.struct.Struct(type: str = 'struct', expr: T_EXPR = Sentinel('REQUIRED'))[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/expressions/struct.html
- class jsonpolars.expr.struct.StructField(type: str = 'struct_field', expr: Optional[T_EXPR] = None, name: Union[str, List[str]] = Sentinel('REQUIRED'))[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.struct.field.html
- class jsonpolars.expr.struct.StructRenameFields(type: str = 'struct_rename_fields', expr: T_EXPR = Sentinel('REQUIRED'), names: List[str] = Sentinel('REQUIRED'))[source]#
- class jsonpolars.expr.struct.StructWithFields(type: str = 'struct_with_fields', expr: T_EXPR = Sentinel('REQUIRED'), exprs: ~typing.List[IntoExpr] = <factory>, named_exprs: ~typing.Dict[str, IntoExpr] = <factory>)[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/expressions/api/polars.Expr.struct.with_fields.html