- class paguro.Collection
A collection of Datasets.
Constructors¶
- Collection(data, ...)
Initialize self. See help(type(self)) for accurate signature.
Config¶
-
set_scope_by_index(idx: int | Iterable[int] | None =
None) Self
Delegated¶
-
set_sorted(column: str, *, descending: bool =
False) Self
- approx_n_unique() Self
- clone() Self
- collect_model_blueprint(...) dict[str, str]
- collect_schema() dict[str, Schema]
- count() Self
- describe(...) Self
- drop_in_place(...) dict[str, TypeAliasForwardRef('polars.Series')]
- drop_nans(...) Self
- drop_nulls(...) Self
- filter(*predicates, ...) Self
-
gather_every(n: int, offset: int =
0) Self
- get_columns() dict[str, list[TypeAliasForwardRef('polars.Series')]]
- insert_column(index: int, column: IntoExprColumn) Self
- interpolate() Self
- is_duplicated() dict[str, TypeAliasForwardRef('polars.Series')]
- iter_columns() dict[str, Iterator[polars.Series]]
- iter_slices(...) dict[str, Iterator[polars.DataFrame]]
- map_columns(column_names, ...) Self
- match_to_schema(schema: SchemaDict | Schema, *, ...) Self
- max() Self
- max_horizontal() dict[str, TypeAliasForwardRef('polars.Series')]
- mean() Self
- mean_horizontal(...) dict[str, TypeAliasForwardRef('polars.Series')]
- median() Self
- melt(...) Self
- min() Self
- min_horizontal() dict[str, TypeAliasForwardRef('polars.Series')]
- null_count() Self
- product() Self
- rechunk() Self
- remove(*predicates, ...) Self
- replace_column(index: int, column: polars.Series) Self
- reverse() Self
- select(*exprs: IntoExpr | Iterable[IntoExpr], **named_exprs) Self
- select_seq(*exprs: IntoExpr | Iterable[IntoExpr], ...) Self
-
shift(n: int =
1, *, fill_value: IntoExpr | None =None) Self
-
shrink_to_fit(*, in_place: bool =
False) Self
- skim(...) dict[str, Collection]
-
sql(query: str, *, table_name: str =
'self') Self
- sum() Self
- sum_horizontal(...) dict[str, TypeAliasForwardRef('polars.Series')]
-
transpose(*, include_header: bool =
False, ...) Self
- unique(...) Self
- unpivot(...) Self
- upsample(time_column: str, *, every: str | timedelta, ...) Self
- with_columns(*exprs: IntoExpr | Iterable[IntoExpr], ...) Self
- with_columns_seq(*exprs: IntoExpr | Iterable[IntoExpr], ...) Self
-
with_row_count(name: str =
'row_nr', offset: int =0) Self
-
with_row_index(name: str =
'index', offset: int =0) Self
- without_model() dict[str, Dataset[Any]]
- to_dataframe() dict[str, TypeAliasForwardRef('polars.DataFrame')]
- to_dummies(...) Self
- to_lazyframe() dict[str, TypeAliasForwardRef('polars.LazyFrame')]
Methods¶
- values() ValuesView[_DST]
-
concat(*, with_key_column: bool | str =
False, ...) _DST Concatenate all items into a single Dataset/LazyDataset.
Properties¶
Export¶