Skip to main content
Back to top
Ctrl
+
K
Site Navigation
Python API reference
User guide
GitHub
Discord
Twitter
Site Navigation
Python API reference
User guide
GitHub
Discord
Twitter
Section Navigation
DataFrame
Aggregation
polars.DataFrame.count
polars.DataFrame.max
polars.DataFrame.max_horizontal
polars.DataFrame.mean
polars.DataFrame.mean_horizontal
polars.DataFrame.median
polars.DataFrame.min
polars.DataFrame.min_horizontal
polars.DataFrame.product
polars.DataFrame.quantile
polars.DataFrame.std
polars.DataFrame.sum
polars.DataFrame.sum_horizontal
polars.DataFrame.var
Attributes
polars.DataFrame.columns
polars.DataFrame.dtypes
polars.DataFrame.flags
polars.DataFrame.height
polars.DataFrame.schema
polars.DataFrame.shape
polars.DataFrame.width
Computation
polars.DataFrame.fold
polars.DataFrame.hash_rows
Descriptive
polars.DataFrame.approx_n_unique
polars.DataFrame.describe
polars.DataFrame.estimated_size
polars.DataFrame.glimpse
polars.DataFrame.is_duplicated
polars.DataFrame.is_empty
polars.DataFrame.is_unique
polars.DataFrame.n_chunks
polars.DataFrame.n_unique
polars.DataFrame.null_count
Export
polars.DataFrame.__dataframe__
polars.DataFrame.to_arrow
polars.DataFrame.to_dict
polars.DataFrame.to_dicts
polars.DataFrame.to_init_repr
polars.DataFrame.to_jax
polars.DataFrame.to_numpy
polars.DataFrame.to_pandas
polars.DataFrame.to_struct
polars.DataFrame.to_torch
GroupBy
polars.dataframe.group_by.GroupBy.__iter__
polars.dataframe.group_by.GroupBy.agg
polars.dataframe.group_by.GroupBy.all
polars.dataframe.group_by.GroupBy.apply
polars.dataframe.group_by.GroupBy.count
polars.dataframe.group_by.GroupBy.first
polars.dataframe.group_by.GroupBy.head
polars.dataframe.group_by.GroupBy.last
polars.dataframe.group_by.GroupBy.len
polars.dataframe.group_by.GroupBy.map_groups
polars.dataframe.group_by.GroupBy.max
polars.dataframe.group_by.GroupBy.mean
polars.dataframe.group_by.GroupBy.median
polars.dataframe.group_by.GroupBy.min
polars.dataframe.group_by.GroupBy.n_unique
polars.dataframe.group_by.GroupBy.quantile
polars.dataframe.group_by.GroupBy.sum
polars.dataframe.group_by.GroupBy.tail
Manipulation/selection
polars.DataFrame.bottom_k
polars.DataFrame.cast
polars.DataFrame.clear
polars.DataFrame.clone
polars.DataFrame.drop
polars.DataFrame.drop_in_place
polars.DataFrame.drop_nulls
polars.DataFrame.explode
polars.DataFrame.extend
polars.DataFrame.fill_nan
polars.DataFrame.fill_null
polars.DataFrame.filter
polars.DataFrame.find_idx_by_name
polars.DataFrame.gather_every
polars.DataFrame.get_column
polars.DataFrame.get_column_index
polars.DataFrame.get_columns
polars.DataFrame.group_by
polars.DataFrame.group_by_dynamic
polars.DataFrame.group_by_rolling
polars.DataFrame.groupby
polars.DataFrame.groupby_dynamic
polars.DataFrame.groupby_rolling
polars.DataFrame.head
polars.DataFrame.hstack
polars.DataFrame.insert_at_idx
polars.DataFrame.insert_column
polars.DataFrame.interpolate
polars.DataFrame.item
polars.DataFrame.iter_columns
polars.DataFrame.iter_rows
polars.DataFrame.iter_slices
polars.DataFrame.join
polars.DataFrame.join_asof
polars.DataFrame.limit
polars.DataFrame.melt
polars.DataFrame.merge_sorted
polars.DataFrame.partition_by
polars.DataFrame.pipe
polars.DataFrame.pivot
polars.DataFrame.rechunk
polars.DataFrame.rename
polars.DataFrame.replace
polars.DataFrame.replace_at_idx
polars.DataFrame.replace_column
polars.DataFrame.reverse
polars.DataFrame.rolling
polars.DataFrame.row
polars.DataFrame.rows
polars.DataFrame.rows_by_key
polars.DataFrame.sample
polars.DataFrame.select
polars.DataFrame.select_seq
polars.DataFrame.set_sorted
polars.DataFrame.shift
polars.DataFrame.shift_and_fill
polars.DataFrame.shrink_to_fit
polars.DataFrame.slice
polars.DataFrame.sort
polars.DataFrame.sql
polars.DataFrame.tail
polars.DataFrame.take_every
polars.DataFrame.to_dummies
polars.DataFrame.to_series
polars.DataFrame.top_k
polars.DataFrame.transpose
polars.DataFrame.unique
polars.DataFrame.unnest
polars.DataFrame.unstack
polars.DataFrame.update
polars.DataFrame.upsample
polars.DataFrame.vstack
polars.DataFrame.with_columns
polars.DataFrame.with_columns_seq
polars.DataFrame.with_row_count
polars.DataFrame.with_row_index
Miscellaneous
polars.DataFrame.apply
polars.DataFrame.corr
polars.DataFrame.equals
polars.DataFrame.frame_equal
polars.DataFrame.lazy
polars.DataFrame.map_rows
polars.DataFrame.deserialize
polars.DataFrame.serialize
Plot
LazyFrame
Aggregation
polars.LazyFrame.count
polars.LazyFrame.max
polars.LazyFrame.mean
polars.LazyFrame.median
polars.LazyFrame.min
polars.LazyFrame.null_count
polars.LazyFrame.quantile
polars.LazyFrame.std
polars.LazyFrame.sum
polars.LazyFrame.var
Attributes
polars.LazyFrame.columns
polars.LazyFrame.dtypes
polars.LazyFrame.schema
polars.LazyFrame.width
Descriptive
polars.LazyFrame.describe
polars.LazyFrame.explain
polars.LazyFrame.show_graph
GroupBy
polars.lazyframe.group_by.LazyGroupBy.agg
polars.lazyframe.group_by.LazyGroupBy.all
polars.lazyframe.group_by.LazyGroupBy.apply
polars.lazyframe.group_by.LazyGroupBy.count
polars.lazyframe.group_by.LazyGroupBy.first
polars.lazyframe.group_by.LazyGroupBy.head
polars.lazyframe.group_by.LazyGroupBy.last
polars.lazyframe.group_by.LazyGroupBy.len
polars.lazyframe.group_by.LazyGroupBy.map_groups
polars.lazyframe.group_by.LazyGroupBy.max
polars.lazyframe.group_by.LazyGroupBy.mean
polars.lazyframe.group_by.LazyGroupBy.median
polars.lazyframe.group_by.LazyGroupBy.min
polars.lazyframe.group_by.LazyGroupBy.n_unique
polars.lazyframe.group_by.LazyGroupBy.quantile
polars.lazyframe.group_by.LazyGroupBy.sum
polars.lazyframe.group_by.LazyGroupBy.tail
Manipulation/selection
polars.LazyFrame.approx_n_unique
polars.LazyFrame.bottom_k
polars.LazyFrame.cast
polars.LazyFrame.clear
polars.LazyFrame.clone
polars.LazyFrame.drop
polars.LazyFrame.drop_nulls
polars.LazyFrame.explode
polars.LazyFrame.fill_nan
polars.LazyFrame.fill_null
polars.LazyFrame.filter
polars.LazyFrame.first
polars.LazyFrame.gather_every
polars.LazyFrame.group_by
polars.LazyFrame.group_by_dynamic
polars.LazyFrame.group_by_rolling
polars.LazyFrame.groupby
polars.LazyFrame.groupby_dynamic
polars.LazyFrame.groupby_rolling
polars.LazyFrame.head
polars.LazyFrame.inspect
polars.LazyFrame.interpolate
polars.LazyFrame.join
polars.LazyFrame.join_asof
polars.LazyFrame.last
polars.LazyFrame.limit
polars.LazyFrame.melt
polars.LazyFrame.merge_sorted
polars.LazyFrame.rename
polars.LazyFrame.reverse
polars.LazyFrame.rolling
polars.LazyFrame.select
polars.LazyFrame.select_seq
polars.LazyFrame.set_sorted
polars.LazyFrame.shift
polars.LazyFrame.shift_and_fill
polars.LazyFrame.slice
polars.LazyFrame.sort
polars.LazyFrame.sql
polars.LazyFrame.tail
polars.LazyFrame.take_every
polars.LazyFrame.top_k
polars.LazyFrame.unique
polars.LazyFrame.unnest
polars.LazyFrame.update
polars.LazyFrame.with_columns
polars.LazyFrame.with_columns_seq
polars.LazyFrame.with_context
polars.LazyFrame.with_row_count
polars.LazyFrame.with_row_index
Miscellaneous
polars.LazyFrame.cache
polars.LazyFrame.collect
polars.LazyFrame.collect_async
polars.LazyFrame.fetch
polars.LazyFrame.lazy
polars.LazyFrame.map
polars.LazyFrame.map_batches
polars.LazyFrame.pipe
polars.LazyFrame.profile
polars.LazyFrame.deserialize
polars.LazyFrame.serialize
Series
Aggregation
polars.Series.arg_max
polars.Series.arg_min
polars.Series.implode
polars.Series.max
polars.Series.mean
polars.Series.median
polars.Series.min
polars.Series.mode
polars.Series.nan_max
polars.Series.nan_min
polars.Series.product
polars.Series.quantile
polars.Series.std
polars.Series.sum
polars.Series.var
Array
polars.Series.arr.max
polars.Series.arr.min
polars.Series.arr.median
polars.Series.arr.sum
polars.Series.arr.std
polars.Series.arr.to_list
polars.Series.arr.unique
polars.Series.arr.n_unique
polars.Series.arr.var
polars.Series.arr.all
polars.Series.arr.any
polars.Series.arr.sort
polars.Series.arr.reverse
polars.Series.arr.arg_min
polars.Series.arr.arg_max
polars.Series.arr.get
polars.Series.arr.first
polars.Series.arr.last
polars.Series.arr.join
polars.Series.arr.explode
polars.Series.arr.contains
polars.Series.arr.count_matches
polars.Series.arr.to_struct
polars.Series.arr.shift
Attributes
polars.Series.dtype
polars.Series.inner_dtype
polars.Series.name
polars.Series.shape
polars.Series.flags
Binary
polars.Series.bin.contains
polars.Series.bin.decode
polars.Series.bin.encode
polars.Series.bin.ends_with