manipulation#
- class jsonpolars.dfop.manipulation.Select(type: str = 'select', exprs: ~typing.List[IntoExpr] = <factory>, named_exprs: ~typing.Dict[str, IntoExpr] = <factory>)[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.select.html
- class jsonpolars.dfop.manipulation.Rename(type: str = 'rename', mapping: Union[Dict[str, str], Callable[[str], str]] = _REQUIRED())[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.rename.html
- class jsonpolars.dfop.manipulation.Drop(type: str = 'drop', columns: List[ColumnNameOrSelector] = _REQUIRED(), strict: bool = _NOTHING())[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.drop.html
- class jsonpolars.dfop.manipulation.WithColumns(type: str = 'with_columns', exprs: ~typing.List[IntoExpr] = <factory>, named_exprs: ~typing.Dict[str, IntoExpr] = <factory>)[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.with_columns.html
- class jsonpolars.dfop.manipulation.Head(type: str = 'head', n: int = _NOTHING())[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.head.html
- class jsonpolars.dfop.manipulation.Tail(type: str = 'tail', n: int = _NOTHING())[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.tail.html
- class jsonpolars.dfop.manipulation.Sort(type: str = 'sort', by: List[IntoExpr] = _REQUIRED(), descending: Union[bool, List[bool]] = _NOTHING(), nulls_last: Union[bool, List[bool]] = _NOTHING(), multithreaded: bool = _NOTHING(), maintain_order: bool = _NOTHING())[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.sort.html
- class jsonpolars.dfop.manipulation.DropNulls(type: str = 'drop_nulls', subset: List[ColumnNameOrSelector] = _NOTHING())[source]#
Ref: https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.drop_nulls.html