Skip to main content
Ctrl+K
Logo image

Site Navigation

  • API reference
  • User Guide
  • Powered by Xomnia

Site Navigation

  • API reference
  • User Guide
  • Powered by Xomnia

Section Navigation

  • Input/output
    • polars.read_csv
    • polars.read_csv_batched
    • polars.scan_csv
    • polars.DataFrame.write_csv
    • polars.read_ipc
    • polars.scan_ipc
    • polars.read_ipc_schema
    • polars.DataFrame.write_ipc
    • polars.read_parquet
    • polars.scan_parquet
    • polars.read_parquet_schema
    • polars.DataFrame.write_parquet
    • polars.read_database
    • polars.DataFrame.write_database
    • polars.read_json
    • polars.read_ndjson
    • polars.scan_ndjson
    • polars.DataFrame.write_json
    • polars.DataFrame.write_ndjson
    • polars.read_avro
    • polars.DataFrame.write_avro
    • polars.read_excel
    • polars.DataFrame.write_excel
    • polars.scan_delta
    • polars.read_delta
    • polars.scan_pyarrow_dataset
    • polars.io.csv.batched_reader.BatchedCsvReader.next_batches
  • Series
    • Aggregation
      • polars.Series.arg_max
      • polars.Series.arg_min
      • 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
    • Attributes
      • polars.Series.arr
      • polars.Series.cat
      • polars.Series.dt
      • polars.Series.dtype
      • polars.Series.inner_dtype
      • polars.Series.name
      • polars.Series.shape
      • polars.Series.str
      • polars.Series.time_unit
      • polars.Series.flags
    • Binary
      • polars.Series.bin.contains
      • polars.Series.bin.decode
      • polars.Series.bin.encode
      • polars.Series.bin.ends_with
      • polars.Series.bin.starts_with
    • Boolean
      • polars.Series.all
      • polars.Series.any
    • Categories
      • polars.Series.cat.set_ordering
    • Computation
      • polars.Series.abs
      • polars.Series.arccos
      • polars.Series.arccosh
      • polars.Series.arcsin
      • polars.Series.arcsinh
      • polars.Series.arctan
      • polars.Series.arctanh
      • polars.Series.arg_true
      • polars.Series.arg_unique
      • polars.Series.cos
      • polars.Series.cosh
      • polars.Series.cummax
      • polars.Series.cummin
      • polars.Series.cumprod
      • polars.Series.cumsum
      • polars.Series.cumulative_eval
      • polars.Series.diff
      • polars.Series.dot
      • polars.Series.entropy
      • polars.Series.ewm_mean
      • polars.Series.ewm_std
      • polars.Series.ewm_var
      • polars.Series.exp
      • polars.Series.hash
      • polars.Series.is_between
      • polars.Series.kurtosis
      • polars.Series.log
      • polars.Series.log10
      • polars.Series.map_dict
      • polars.Series.pct_change
      • polars.Series.peak_max
      • polars.Series.peak_min
      • polars.Series.rank
      • polars.Series.rolling_apply
      • polars.Series.rolling_max
      • polars.Series.rolling_mean
      • polars.Series.rolling_median
      • polars.Series.rolling_min
      • polars.Series.rolling_quantile
      • polars.Series.rolling_skew
      • polars.Series.rolling_std
      • polars.Series.rolling_sum
      • polars.Series.rolling_var
      • polars.Series.search_sorted
      • polars.Series.sign
      • polars.Series.sin
      • polars.Series.sinh
      • polars.Series.skew
      • polars.Series.sqrt
      • polars.Series.tan
      • polars.Series.tanh
    • Descriptive
      • polars.Series.chunk_lengths
      • polars.Series.describe
      • polars.Series.estimated_size
      • polars.Series.has_validity
      • polars.Series.is_boolean
      • polars.Series.is_duplicated
      • polars.Series.is_empty
      • polars.Series.is_finite
      • polars.Series.is_first
      • polars.Series.is_float
      • polars.Series.is_in
      • polars.Series.is_infinite
      • polars.Series.is_nan
      • polars.Series.is_not_nan
      • polars.Series.is_not_null
      • polars.Series.is_null
      • polars.Series.is_numeric
      • polars.Series.is_sorted
      • polars.Series.is_temporal
      • polars.Series.is_unique
      • polars.Series.is_utf8
      • polars.Series.len
      • polars.Series.lower_bound
      • polars.Series.n_chunks
      • polars.Series.n_unique
      • polars.Series.null_count
      • polars.Series.unique_counts
      • polars.Series.upper_bound
      • polars.Series.value_counts
    • Export
      • polars.Series.to_arrow
      • polars.Series.to_frame
      • polars.Series.to_list
      • polars.Series.to_numpy
      • polars.Series.to_pandas
      • polars.Series.to_init_repr
    • List
      • polars.Series.arr.arg_max
      • polars.Series.arr.arg_min
      • polars.Series.arr.concat
      • polars.Series.arr.contains
      • polars.Series.arr.count_match
      • polars.Series.arr.diff
      • polars.Series.arr.eval
      • polars.Series.arr.explode
      • polars.Series.arr.first
      • polars.Series.arr.get
      • polars.Series.arr.head
      • polars.Series.arr.join
      • polars.Series.arr.last
      • polars.Series.arr.lengths
      • polars.Series.arr.max
      • polars.Series.arr.mean
      • polars.Series.arr.min
      • polars.Series.arr.reverse
      • polars.Series.arr.shift
      • polars.Series.arr.slice
      • polars.Series.arr.sort
      • polars.Series.arr.sum
      • polars.Series.arr.tail
      • polars.Series.arr.take
      • polars.Series.arr.to_struct
      • polars.Series.arr.unique
    • Manipulation/selection
      • polars.Series.alias
      • polars.Series.append
      • polars.Series.arg_sort
      • polars.Series.argsort
      • polars.Series.cast
      • polars.Series.ceil
      • polars.Series.clear
      • polars.Series.clip
      • polars.Series.clip_max
      • polars.Series.clip_min
      • polars.Series.clone
      • polars.Series.cut
      • polars.Series.drop_nans
      • polars.Series.drop_nulls
      • polars.Series.explode
      • polars.Series.extend_constant
      • polars.Series.fill_nan
      • polars.Series.fill_null
      • polars.Series.filter
      • polars.Series.floor
      • polars.Series.head
      • polars.Series.hist
      • polars.Series.interpolate
      • polars.Series.item
      • polars.Series.limit
      • polars.Series.new_from_index
      • polars.Series.qcut
      • polars.Series.rechunk
      • polars.Series.rename
      • polars.Series.reshape
      • polars.Series.reverse
      • polars.Series.round
      • polars.Series.sample
      • polars.Series.set
      • polars.Series.set_at_idx
      • polars.Series.shift
      • polars.Series.shift_and_fill
      • polars.Series.shrink_dtype
      • polars.Series.shrink_to_fit
      • polars.Series.shuffle
      • polars.Series.slice
      • polars.Series.sort
      • polars.Series.tail
      • polars.Series.take
      • polars.Series.take_every
      • polars.Series.to_dummies
      • polars.Series.top_k
      • polars.Series.unique
      • polars.Series.view
      • polars.Series.zip_with
    • Miscellaneous
      • polars.Series.apply
      • polars.Series.reinterpret
      • polars.Series.series_equal
      • polars.Series.set_sorted
      • polars.Series.to_physical
      • polars.Series.get_chunks
    • String
      • polars.Series.str.concat
      • polars.Series.str.contains
      • polars.Series.str.count_match
      • polars.Series.str.decode
      • polars.Series.str.encode
      • polars.Series.str.ends_with
      • polars.Series.str.explode
      • polars.Series.str.extract
      • polars.Series.str.extract_all
      • polars.Series.str.json_extract
      • polars.Series.str.json_path_match
      • polars.Series.str.lengths
      • polars.Series.str.ljust
      • polars.Series.str.lstrip
      • polars.Series.str.n_chars
      • polars.Series.str.replace
      • polars.Series.str.replace_all
      • polars.Series.str.rjust
      • polars.Series.str.rstrip
      • polars.Series.str.slice
      • polars.Series.str.split
      • polars.Series.str.split_exact
      • polars.Series.str.splitn
      • polars.Series.str.starts_with
      • polars.Series.str.strip
      • polars.Series.str.strptime
      • polars.Series.str.to_lowercase
      • polars.Series.str.to_uppercase
      • polars.Series.str.zfill
      • polars.Series.str.parse_int
    • Struct
      • polars.Series.struct.field
      • polars.Series.struct.rename_fields
      • polars.Series.struct.unnest
      • polars.Series.struct.fields
    • Temporal
      • polars.Series.dt.cast_time_unit
      • polars.Series.dt.replace_time_zone
      • polars.Series.dt.combine
      • polars.Series.dt.date
      • polars.Series.dt.datetime
      • polars.Series.dt.day
      • polars.Series.dt.days
      • polars.Series.dt.epoch
      • polars.Series.dt.hour
      • polars.Series.dt.hours
      • polars.Series.dt.is_leap_year
      • polars.Series.dt.iso_year
      • polars.Series.dt.max
      • polars.Series.dt.mean
      • polars.Series.dt.median
      • polars.Series.dt.microsecond
      • polars.Series.dt.microseconds
      • polars.Series.dt.millisecond
      • polars.Series.dt.milliseconds
      • polars.Series.dt.min
      • polars.Series.dt.minute
      • polars.Series.dt.minutes
      • polars.Series.dt.month
      • polars.Series.dt.nanosecond
      • polars.Series.dt.nanoseconds
      • polars.Series.dt.offset_by
      • polars.Series.dt.ordinal_day
      • polars.Series.dt.quarter
      • polars.Series.dt.round
      • polars.Series.dt.second
      • polars.Series.dt.seconds
      • polars.Series.dt.strftime
      • polars.Series.dt.time
      • polars.Series.dt.timestamp
      • polars.Series.dt.truncate
      • polars.Series.dt.week
      • polars.Series.dt.weekday
      • polars.Series.dt.with_time_unit
      • polars.Series.dt.convert_time_zone
      • polars.Series.dt.year
  • DataFrame
    • Aggregation
      • polars.DataFrame.max
      • polars.DataFrame.mean
      • polars.DataFrame.median
      • polars.DataFrame.min
      • polars.DataFrame.product
      • polars.DataFrame.quantile
      • polars.DataFrame.std
      • polars.DataFrame.sum
      • polars.DataFrame.var
    • Attributes
      • polars.DataFrame.columns
      • polars.DataFrame.dtypes
      • polars.DataFrame.height
      • polars.DataFrame.schema
      • polars.DataFrame.shape
      • polars.DataFrame.width
    • Computation
      • polars.DataFrame.fold
      • polars.DataFrame.hash_rows
    • Descriptive
      • polars.DataFrame.describe
      • polars.DataFrame.glimpse
      • polars.DataFrame.estimated_size
      • 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_numpy
      • polars.DataFrame.to_pandas
      • polars.DataFrame.to_struct
    • GroupBy
      • polars.dataframe.groupby.GroupBy.__iter__
      • polars.dataframe.groupby.GroupBy.agg
      • polars.dataframe.groupby.GroupBy.all
      • polars.dataframe.groupby.GroupBy.apply
      • polars.dataframe.groupby.GroupBy.count
      • polars.dataframe.groupby.GroupBy.first
      • polars.dataframe.groupby.GroupBy.head
      • polars.dataframe.groupby.GroupBy.last
      • polars.dataframe.groupby.GroupBy.max
      • polars.dataframe.groupby.GroupBy.mean
      • polars.dataframe.groupby.GroupBy.median
      • polars.dataframe.groupby.GroupBy.min
      • polars.dataframe.groupby.GroupBy.n_unique
      • polars.dataframe.groupby.GroupBy.quantile
      • polars.dataframe.groupby.GroupBy.sum
      • polars.dataframe.groupby.GroupBy.tail
    • Manipulation/selection
      • 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.get_column
      • polars.DataFrame.get_columns
      • polars.DataFrame.groupby
      • polars.DataFrame.groupby_dynamic
      • polars.DataFrame.groupby_rolling
      • polars.DataFrame.head
      • polars.DataFrame.hstack
      • polars.DataFrame.insert_at_idx
      • polars.DataFrame.interpolate
      • polars.DataFrame.item
      • 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.reverse
      • polars.DataFrame.row
      • polars.DataFrame.rows
      • polars.DataFrame.sample
      • polars.DataFrame.select
      • polars.DataFrame.shift
      • polars.DataFrame.shift_and_fill
      • polars.DataFrame.shrink_to_fit
      • polars.DataFrame.slice
      • polars.DataFrame.sort
      • polars.DataFrame.tail
      • polars.DataFrame.take_every
      • polars.DataFrame.top_k
      • polars.DataFrame.to_dummies
      • polars.DataFrame.to_series
      • 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_row_count
    • Miscellaneous
      • polars.DataFrame.apply
      • polars.DataFrame.corr
      • polars.DataFrame.frame_equal
      • polars.DataFrame.lazy
  • LazyFrame
    • Aggregation
      • polars.LazyFrame.max
      • polars.LazyFrame.mean
      • polars.LazyFrame.median
      • polars.LazyFrame.min
      • 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.explain
      • polars.LazyFrame.show_graph
    • GroupBy
      • polars.lazyframe.groupby.LazyGroupBy.agg
      • polars.lazyframe.groupby.LazyGroupBy.all
      • polars.lazyframe.groupby.LazyGroupBy.apply
      • polars.lazyframe.groupby.LazyGroupBy.count
      • polars.lazyframe.groupby.LazyGroupBy.first
      • polars.lazyframe.groupby.LazyGroupBy.head
      • polars.lazyframe.groupby.LazyGroupBy.last
      • polars.lazyframe.groupby.LazyGroupBy.max
      • polars.lazyframe.groupby.LazyGroupBy.mean
      • polars.lazyframe.groupby.LazyGroupBy.median
      • polars.lazyframe.groupby.LazyGroupBy.min
      • polars.lazyframe.groupby.LazyGroupBy.n_unique
      • polars.lazyframe.groupby.LazyGroupBy.quantile
      • polars.lazyframe.groupby.LazyGroupBy.sum
      • polars.lazyframe.groupby.LazyGroupBy.tail
    • Manipulation/selection
      • 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.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.select
      • polars.LazyFrame.shift
      • polars.LazyFrame.shift_and_fill
      • polars.LazyFrame.slice
      • polars.LazyFrame.sort
      • 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_context
      • polars.LazyFrame.with_row_count
    • Miscellaneous
      • polars.LazyFrame.cache
      • polars.LazyFrame.collect
      • polars.LazyFrame.fetch
      • polars.LazyFrame.lazy
      • polars.LazyFrame.map
      • polars.LazyFrame.pipe
      • polars.LazyFrame.profile
      • polars.LazyFrame.sink_ipc
      • polars.LazyFrame.sink_parquet
      • polars.LazyFrame.from_json
      • polars.LazyFrame.read_json
      • polars.LazyFrame.write_json
  • Expressions
    • Aggregation
      • polars.Expr.agg_groups
      • polars.Expr.arg_max
      • polars.Expr.arg_min
      • polars.Expr.count
      • polars.Expr.first
      • polars.Expr.last
      • polars.Expr.len
      • polars.Expr.list
      • polars.Expr.max
      • polars.Expr.mean
      • polars.Expr.median
      • polars.Expr.min
      • polars.Expr.nan_max
      • polars.Expr.nan_min
      • polars.Expr.product
      • polars.Expr.quantile
      • polars.Expr.std
      • polars.Expr.sum
      • polars.Expr.var
    • Binary
      • polars.Expr.bin.contains
      • polars.Expr.bin.decode
      • polars.Expr.bin.encode
      • polars.Expr.bin.ends_with
      • polars.Expr.bin.starts_with
    • Boolean
      • polars.Expr.all
      • polars.Expr.any
      • polars.Expr.is_between
      • polars.Expr.is_duplicated
      • polars.Expr.is_finite
      • polars.Expr.is_first
      • polars.Expr.is_in
      • polars.Expr.is_infinite
      • polars.Expr.is_nan
      • polars.Expr.is_not
      • polars.Expr.is_not_nan
      • polars.Expr.is_not_null
      • polars.Expr.is_null
      • polars.Expr.is_unique
    • Categories
      • polars.Expr.cat.set_ordering
    • Columns / names
      • polars.col
      • polars.Expr.alias
      • polars.Expr.exclude
      • polars.Expr.keep_name
      • polars.Expr.map_alias
      • polars.Expr.prefix
      • polars.Expr.suffix
    • Computation
      • polars.Expr.abs
      • polars.Expr.arccos
      • polars.Expr.arccosh
      • polars.Expr.arcsin
      • polars.Expr.arcsinh
      • polars.Expr.arctan
      • polars.Expr.arctanh
      • polars.Expr.arg_unique
      • polars.Expr.cos
      • polars.Expr.cosh
      • polars.Expr.cumcount
      • polars.Expr.cummax
      • polars.Expr.cummin
      • polars.Expr.cumprod
      • polars.Expr.cumsum
      • polars.Expr.cumulative_eval
      • polars.Expr.diff
      • polars.Expr.dot
      • polars.Expr.entropy
      • polars.Expr.ewm_mean
      • polars.Expr.ewm_std
      • polars.Expr.ewm_var
      • polars.Expr.exp
      • polars.Expr.hash
      • polars.Expr.kurtosis
      • polars.Expr.log
      • polars.Expr.log10
      • polars.Expr.mode
      • polars.Expr.n_unique
      • polars.Expr.null_count
      • polars.Expr.pct_change
      • polars.Expr.pow
      • polars.Expr.rank
      • polars.Expr.rolling_apply
      • polars.Expr.rolling_max
      • polars.Expr.rolling_mean
      • polars.Expr.rolling_median
      • polars.Expr.rolling_min
      • polars.Expr.rolling_quantile
      • polars.Expr.rolling_skew
      • polars.Expr.rolling_std
      • polars.Expr.rolling_sum
      • polars.Expr.rolling_var
      • polars.Expr.search_sorted
      • polars.Expr.sign
      • polars.Expr.sin
      • polars.Expr.sinh
      • polars.Expr.skew
      • polars.Expr.sqrt
      • polars.Expr.tan
      • polars.Expr.tanh
      • polars.Expr.unique
      • polars.Expr.unique_counts
      • polars.Expr.value_counts
    • Functions
      • polars.all
      • polars.any
      • polars.apply
      • polars.arange
      • polars.arg_sort_by
      • polars.avg
      • polars.coalesce
      • polars.concat_list
      • polars.concat_str
      • polars.corr
      • polars.count
      • polars.cov
      • polars.cumfold
      • polars.cumreduce
      • polars.cumsum
      • polars.date
      • polars.datetime
      • polars.duration
      • polars.element
      • polars.exclude
      • polars.first
      • polars.fold
      • polars.format
      • polars.from_epoch
      • polars.groups
      • polars.head
      • polars.list
      • polars.lit
      • polars.map
      • polars.max
      • polars.mean
      • polars.median
      • polars.min
      • polars.n_unique
      • polars.pearson_corr
      • polars.quantile
      • polars.reduce
      • polars.repeat
      • polars.select
      • polars.spearman_rank_corr
      • polars.std
      • polars.struct
      • polars.sum
      • polars.tail
      • polars.var
      • polars.when
      • polars.Expr.all
      • polars.Expr.any
      • polars.Expr.apply
      • polars.Expr.count
      • polars.Expr.cumsum
      • polars.Expr.exclude
      • polars.Expr.first
      • polars.Expr.head
      • polars.Expr.list
      • polars.Expr.map
      • polars.Expr.max
      • polars.Expr.mean
      • polars.Expr.median
      • polars.Expr.min
      • polars.Expr.n_unique
      • polars.Expr.quantile
      • polars.Expr.std
      • polars.Expr.sum
      • polars.Expr.tail
      • polars.Expr.var
    • List
      • polars.Expr.arr.arg_max
      • polars.Expr.arr.arg_min
      • polars.Expr.arr.concat
      • polars.Expr.arr.contains
      • polars.Expr.arr.count_match
      • polars.Expr.arr.diff
      • polars.Expr.arr.eval
      • polars.Expr.arr.explode
      • polars.Expr.arr.first
      • polars.Expr.arr.get
      • polars.Expr.arr.head
      • polars.Expr.arr.join
      • polars.Expr.arr.last
      • polars.Expr.arr.lengths
      • polars.Expr.arr.max
      • polars.Expr.arr.mean
      • polars.Expr.arr.min
      • polars.Expr.arr.reverse
      • polars.Expr.arr.shift
      • polars.Expr.arr.slice
      • polars.Expr.arr.sort
      • polars.Expr.arr.sum
      • polars.Expr.arr.tail
      • polars.Expr.arr.take
      • polars.Expr.arr.to_struct
      • polars.Expr.arr.unique
    • Manipulation/selection
      • polars.Expr.append
      • polars.Expr.arg_sort
      • polars.Expr.argsort
      • polars.Expr.arg_true
      • polars.Expr.backward_fill
      • polars.Expr.cast
      • polars.Expr.ceil
      • polars.Expr.clip
      • polars.Expr.clip_max
      • polars.Expr.clip_min
      • polars.Expr.drop_nans
      • polars.Expr.drop_nulls
      • polars.Expr.explode
      • polars.Expr.extend_constant
      • polars.Expr.fill_nan
      • polars.Expr.fill_null
      • polars.Expr.filter
      • polars.Expr.flatten
      • polars.Expr.floor
      • polars.Expr.forward_fill
      • polars.Expr.head
      • polars.Expr.inspect
      • polars.Expr.interpolate
      • polars.Expr.limit
      • polars.Expr.lower_bound
      • polars.Expr.map_dict
      • polars.Expr.pipe
      • polars.Expr.rechunk
      • polars.Expr.reinterpret
      • polars.Expr.repeat_by
      • polars.Expr.reshape
      • polars.Expr.reverse
      • polars.Expr.round
      • polars.Expr.sample
      • polars.Expr.shift
      • polars.Expr.shift_and_fill
      • polars.Expr.shrink_dtype
      • polars.Expr.shuffle
      • polars.Expr.slice
      • polars.Expr.sort
      • polars.Expr.sort_by
      • polars.Expr.tail
      • polars.Expr.take
      • polars.Expr.take_every
      • polars.Expr.to_physical
      • polars.Expr.top_k
      • polars.Expr.upper_bound
      • polars.Expr.where
    • Meta
      • polars.Expr.meta.has_multiple_outputs
      • polars.Expr.meta.is_regex_projection
      • polars.Expr.meta.output_name
      • polars.Expr.meta.pop
      • polars.Expr.meta.root_names
      • polars.Expr.meta.undo_aliases
    • Miscellaneous
      • polars.Expr.set_sorted
    • String
      • polars.Expr.str.concat
      • polars.Expr.str.contains
      • polars.Expr.str.count_match
      • polars.Expr.str.decode
      • polars.Expr.str.encode
      • polars.Expr.str.ends_with
      • polars.Expr.str.explode
      • polars.Expr.str.extract
      • polars.Expr.str.extract_all
      • polars.Expr.str.json_extract
      • polars.Expr.str.json_path_match
      • polars.Expr.str.lengths
      • polars.Expr.str.ljust
      • polars.Expr.str.lstrip
      • polars.Expr.str.n_chars
      • polars.Expr.str.replace
      • polars.Expr.str.replace_all
      • polars.Expr.str.rjust
      • polars.Expr.str.rstrip
      • polars.Expr.str.slice
      • polars.Expr.str.split
      • polars.Expr.str.split_exact
      • polars.Expr.str.splitn
      • polars.Expr.str.starts_with
      • polars.Expr.str.strip
      • polars.Expr.str.strptime
      • polars.Expr.str.to_lowercase
      • polars.Expr.str.to_uppercase
      • polars.Expr.str.zfill
      • polars.Expr.str.parse_int
    • Struct
      • polars.Expr.struct.field
      • polars.Expr.struct.rename_fields
    • Temporal
      • polars.Expr.dt.cast_time_unit
      • polars.Expr.dt.replace_time_zone
      • polars.Expr.dt.combine
      • polars.Expr.dt.date
      • polars.Expr.dt.datetime
      • polars.Expr.dt.day
      • polars.Expr.dt.days
      • polars.Expr.dt.epoch
      • polars.Expr.dt.hour
      • polars.Expr.dt.hours
      • polars.Expr.dt.is_leap_year
      • polars.Expr.dt.iso_year
      • polars.Expr.dt.microsecond
      • polars.Expr.dt.microseconds
      • polars.Expr.dt.millisecond
      • polars.Expr.dt.milliseconds
      • polars.Expr.dt.minute
      • polars.Expr.dt.minutes
      • polars.Expr.dt.month
      • polars.Expr.dt.nanosecond
      • polars.Expr.dt.nanoseconds
      • polars.Expr.dt.offset_by
      • polars.Expr.dt.ordinal_day
      • polars.Expr.dt.quarter
      • polars.Expr.dt.round
      • polars.Expr.dt.second
      • polars.Expr.dt.seconds
      • polars.Expr.dt.strftime
      • polars.Expr.dt.time
      • polars.Expr.dt.timestamp
      • polars.Expr.dt.truncate
      • polars.Expr.dt.week
      • polars.Expr.dt.weekday
      • polars.Expr.dt.with_time_unit
      • polars.Expr.dt.convert_time_zone
      • polars.Expr.dt.year
    • Window
      • polars.Expr.over
  • Extending the API
    • polars.api.register_expr_namespace
    • polars.api.register_dataframe_namespace
    • polars.api.register_lazyframe_namespace
    • polars.api.register_series_namespace
  • Functions
    • polars.from_arrow
    • polars.from_dataframe
    • polars.from_dict
    • polars.from_dicts
    • polars.from_numpy
    • polars.from_pandas
    • polars.from_records
    • polars.from_repr
    • polars.arg_where
    • polars.concat
    • polars.cut
    • polars.date_range
    • polars.get_dummies
    • polars.ones
    • polars.zeros
    • polars.align_frames
    • polars.collect_all
    • polars.toggle_string_cache
    • polars.StringCache
  • Data types
    • polars.DataType
    • polars.Decimal
    • polars.Float32
    • polars.Float64
    • polars.Int16
    • polars.Int32
    • polars.Int64
    • polars.Int8
    • polars.UInt16
    • polars.UInt32
    • polars.UInt64
    • polars.UInt8
    • polars.Date
    • polars.Datetime
    • polars.Duration
    • polars.Time
    • polars.List
    • polars.Struct
    • polars.Boolean
    • polars.Binary
    • polars.Categorical
    • polars.Null
    • polars.Object
    • polars.Utf8
    • polars.Unknown
  • Config
    • polars.Config.activate_decimals
    • polars.Config.set_ascii_tables
    • polars.Config.set_fmt_float
    • polars.Config.set_fmt_str_lengths
    • polars.Config.set_streaming_chunk_size
    • polars.Config.set_tbl_cell_alignment
    • polars.Config.set_tbl_cols
    • polars.Config.set_tbl_column_data_type_inline
    • polars.Config.set_tbl_dataframe_shape_below
    • polars.Config.set_tbl_formatting
    • polars.Config.set_tbl_hide_column_data_types
    • polars.Config.set_tbl_hide_column_names
    • polars.Config.set_tbl_hide_dataframe_shape
    • polars.Config.set_tbl_hide_dtype_separator
    • polars.Config.set_tbl_rows
    • polars.Config.set_tbl_width_chars
    • polars.Config.set_verbose
    • polars.Config.load
    • polars.Config.save
    • polars.Config.state
    • polars.Config.restore_defaults
  • Exceptions
    • polars.exceptions.ArrowError
    • polars.exceptions.ColumnNotFoundError
    • polars.exceptions.ComputeError
    • polars.exceptions.DuplicateError
    • polars.exceptions.InvalidOperationError
    • polars.exceptions.NoDataError
    • polars.exceptions.NoRowsReturned
    • polars.exceptions.PanicException
    • polars.exceptions.RowsException
    • polars.exceptions.SchemaError
    • polars.exceptions.SchemaFieldNotFoundError
    • polars.exceptions.ShapeError
    • polars.exceptions.StructFieldNotFoundError
    • polars.exceptions.TooManyRowsReturned
  • Testing
    • polars.testing.assert_frame_equal
    • polars.testing.assert_series_equal
    • polars.testing.parametric.dataframes
    • polars.testing.parametric.series
    • polars.testing.parametric.column
    • polars.testing.parametric.columns
  • Utils
    • polars.build_info
    • polars.get_index_type
    • polars.show_versions
    • polars.threadpool_size
  • SQL
    • polars.SQLContext.execute
    • polars.SQLContext.register
    • polars.SQLContext.query
  • API reference
  • DataFrame
  • Attributes

Attributes#

DataFrame.columns

Get or set column names.

DataFrame.dtypes

Get the datatypes of the columns of this DataFrame.

DataFrame.height

Get the height of the DataFrame.

DataFrame.schema

Get a dict[column name, DataType].

DataFrame.shape

Get the shape of the DataFrame.

DataFrame.width

Get the width of the DataFrame.

previous

polars.DataFrame.var

next

polars.DataFrame.columns

© Copyright 2023, Ritchie Vink.

Created using Sphinx 5.3.0.

Built with the PyData Sphinx Theme 0.13.0.