Skip to content

Commit

Permalink
feat(python)!: Scheduled removal of deprecated functionality (pola-rs…
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego authored and Wouittone committed Jun 22, 2024
1 parent 5226108 commit 22f115d
Show file tree
Hide file tree
Showing 86 changed files with 58 additions and 3,636 deletions.
1 change: 0 additions & 1 deletion py-polars/docs/source/reference/dataframe/group_by.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ This namespace is available after calling :code:`DataFrame.group_by(...)`.
GroupBy.__iter__
GroupBy.agg
GroupBy.all
GroupBy.apply
GroupBy.count
GroupBy.first
GroupBy.head
Expand Down
2 changes: 0 additions & 2 deletions py-polars/docs/source/reference/dataframe/miscellaneous.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ Miscellaneous
.. autosummary::
:toctree: api/

DataFrame.apply
DataFrame.corr
DataFrame.equals
DataFrame.frame_equal
DataFrame.lazy
DataFrame.map_rows

Expand Down
10 changes: 0 additions & 10 deletions py-polars/docs/source/reference/dataframe/modify_select.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,14 @@ Manipulation/selection
DataFrame.fill_nan
DataFrame.fill_null
DataFrame.filter
DataFrame.find_idx_by_name
DataFrame.gather_every
DataFrame.get_column
DataFrame.get_column_index
DataFrame.get_columns
DataFrame.group_by
DataFrame.group_by_dynamic
DataFrame.group_by_rolling
DataFrame.groupby
DataFrame.groupby_dynamic
DataFrame.groupby_rolling
DataFrame.head
DataFrame.hstack
DataFrame.insert_at_idx
DataFrame.insert_column
DataFrame.interpolate
DataFrame.item
Expand All @@ -48,8 +42,6 @@ Manipulation/selection
DataFrame.pivot
DataFrame.rechunk
DataFrame.rename
DataFrame.replace
DataFrame.replace_at_idx
DataFrame.replace_column
DataFrame.reverse
DataFrame.rolling
Expand All @@ -61,13 +53,11 @@ Manipulation/selection
DataFrame.select_seq
DataFrame.set_sorted
DataFrame.shift
DataFrame.shift_and_fill
DataFrame.shrink_to_fit
DataFrame.slice
DataFrame.sort
DataFrame.sql
DataFrame.tail
DataFrame.take_every
DataFrame.to_dummies
DataFrame.to_series
DataFrame.top_k
Expand Down
3 changes: 0 additions & 3 deletions py-polars/docs/source/reference/expressions/boolean.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ Boolean
Expr.is_between
Expr.is_duplicated
Expr.is_finite
Expr.is_first
Expr.is_first_distinct
Expr.is_in
Expr.is_infinite
Expr.is_last
Expr.is_last_distinct
Expr.is_nan
Expr.is_not
Expr.is_not_nan
Expr.is_not_null
Expr.is_null
Expand Down
1 change: 0 additions & 1 deletion py-polars/docs/source/reference/expressions/categories.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ The following methods are available under the `expr.cat` attribute.
:template: autosummary/accessor_method.rst

Expr.cat.get_categories
Expr.cat.set_ordering
4 changes: 0 additions & 4 deletions py-polars/docs/source/reference/expressions/columns.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ Columns / names

Expr.alias
Expr.exclude
Expr.keep_name
Expr.map_alias
Expr.prefix
Expr.suffix

.. toctree::
:maxdepth: 2
Expand Down
6 changes: 0 additions & 6 deletions py-polars/docs/source/reference/expressions/computation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ Computation
Expr.cum_min
Expr.cum_prod
Expr.cum_sum
Expr.cumcount
Expr.cummax
Expr.cummin
Expr.cumprod
Expr.cumsum
Expr.cumulative_eval
Expr.degrees
Expr.diff
Expand All @@ -53,7 +48,6 @@ Computation
Expr.peak_min
Expr.radians
Expr.rank
Expr.rolling_apply
Expr.rolling_map
Expr.rolling_max
Expr.rolling_max_by
Expand Down
9 changes: 0 additions & 9 deletions py-polars/docs/source/reference/expressions/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ These functions are available from the Polars module root and can be used as exp
all_horizontal
any
any_horizontal
apply
approx_n_unique
arange
arctan2
Expand All @@ -35,10 +34,6 @@ These functions are available from the Polars module root and can be used as exp
cum_reduce
cum_sum
cum_sum_horizontal
cumfold
cumreduce
cumsum
cumsum_horizontal
date
datetime
date_range
Expand All @@ -60,7 +55,6 @@ These functions are available from the Polars module root and can be used as exp
last
len
lit
map
map_batches
map_groups
max
Expand Down Expand Up @@ -101,15 +95,12 @@ These functions are available from the Polars module root and can be used as exp

Expr.all
Expr.any
Expr.apply
Expr.approx_n_unique
Expr.count
Expr.cumsum
Expr.exclude
Expr.first
Expr.head
Expr.implode
Expr.map
Expr.map_batches
Expr.map_elements
Expr.max
Expand Down
3 changes: 0 additions & 3 deletions py-polars/docs/source/reference/expressions/list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The following methods are available under the `expr.list` attribute.
Expr.list.arg_min
Expr.list.concat
Expr.list.contains
Expr.list.count_match
Expr.list.count_matches
Expr.list.diff
Expr.list.eval
Expand All @@ -28,7 +27,6 @@ The following methods are available under the `expr.list` attribute.
Expr.list.join
Expr.list.last
Expr.list.len
Expr.list.lengths
Expr.list.max
Expr.list.mean
Expr.list.median
Expand All @@ -45,7 +43,6 @@ The following methods are available under the `expr.list` attribute.
Expr.list.std
Expr.list.sum
Expr.list.tail
Expr.list.take
Expr.list.to_array
Expr.list.to_struct
Expr.list.unique
Expand Down
6 changes: 0 additions & 6 deletions py-polars/docs/source/reference/expressions/modify_select.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Manipulation/selection
Expr.cast
Expr.ceil
Expr.clip
Expr.clip_max
Expr.clip_min
Expr.cut
Expr.drop_nans
Expr.drop_nulls
Expand All @@ -37,7 +35,6 @@ Manipulation/selection
Expr.interpolate_by
Expr.limit
Expr.lower_bound
Expr.map_dict
Expr.pipe
Expr.qcut
Expr.rechunk
Expand All @@ -52,15 +49,12 @@ Manipulation/selection
Expr.round_sig_figs
Expr.sample
Expr.shift
Expr.shift_and_fill
Expr.shrink_dtype
Expr.shuffle
Expr.slice
Expr.sort
Expr.sort_by
Expr.tail
Expr.take
Expr.take_every
Expr.to_physical
Expr.top_k
Expr.top_k_by
Expand Down
10 changes: 0 additions & 10 deletions py-polars/docs/source/reference/expressions/string.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ The following methods are available under the `expr.str` attribute.
Expr.str.concat
Expr.str.contains
Expr.str.contains_any
Expr.str.count_match
Expr.str.count_matches
Expr.str.decode
Expr.str.encode
Expand All @@ -24,29 +23,20 @@ The following methods are available under the `expr.str` attribute.
Expr.str.find
Expr.str.head
Expr.str.json_decode
Expr.str.json_extract
Expr.str.json_path_match
Expr.str.len_bytes
Expr.str.len_chars
Expr.str.lengths
Expr.str.ljust
Expr.str.lstrip
Expr.str.n_chars
Expr.str.pad_end
Expr.str.pad_start
Expr.str.parse_int
Expr.str.replace
Expr.str.replace_all
Expr.str.replace_many
Expr.str.reverse
Expr.str.rjust
Expr.str.rstrip
Expr.str.slice
Expr.str.split
Expr.str.split_exact
Expr.str.splitn
Expr.str.starts_with
Expr.str.strip
Expr.str.strip_chars
Expr.str.strip_chars_start
Expr.str.strip_chars_end
Expand Down
7 changes: 0 additions & 7 deletions py-polars/docs/source/reference/expressions/temporal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,25 @@ The following methods are available under the `expr.dt` attribute.
Expr.dt.date
Expr.dt.datetime
Expr.dt.day
Expr.dt.days
Expr.dt.dst_offset
Expr.dt.epoch
Expr.dt.hour
Expr.dt.hours
Expr.dt.is_leap_year
Expr.dt.iso_year
Expr.dt.microsecond
Expr.dt.microseconds
Expr.dt.millennium
Expr.dt.millisecond
Expr.dt.milliseconds
Expr.dt.minute
Expr.dt.minutes
Expr.dt.month
Expr.dt.month_end
Expr.dt.month_start
Expr.dt.nanosecond
Expr.dt.nanoseconds
Expr.dt.offset_by
Expr.dt.ordinal_day
Expr.dt.quarter
Expr.dt.replace_time_zone
Expr.dt.round
Expr.dt.second
Expr.dt.seconds
Expr.dt.strftime
Expr.dt.time
Expr.dt.timestamp
Expand Down
1 change: 0 additions & 1 deletion py-polars/docs/source/reference/lazyframe/group_by.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ This namespace comes available by calling `LazyFrame.group_by(..)`.

LazyGroupBy.agg
LazyGroupBy.all
LazyGroupBy.apply
LazyGroupBy.count
LazyGroupBy.first
LazyGroupBy.head
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Miscellaneous
LazyFrame.collect_async
LazyFrame.fetch
LazyFrame.lazy
LazyFrame.map
LazyFrame.map_batches
LazyFrame.pipe
LazyFrame.profile
Expand Down
6 changes: 0 additions & 6 deletions py-polars/docs/source/reference/lazyframe/modify_select.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ Manipulation/selection
LazyFrame.gather_every
LazyFrame.group_by
LazyFrame.group_by_dynamic
LazyFrame.group_by_rolling
LazyFrame.groupby
LazyFrame.groupby_dynamic
LazyFrame.groupby_rolling
LazyFrame.head
LazyFrame.inspect
LazyFrame.interpolate
Expand All @@ -41,12 +37,10 @@ Manipulation/selection
LazyFrame.select_seq
LazyFrame.set_sorted
LazyFrame.shift
LazyFrame.shift_and_fill
LazyFrame.slice
LazyFrame.sort
LazyFrame.sql
LazyFrame.tail
LazyFrame.take_every
LazyFrame.top_k
LazyFrame.unique
LazyFrame.unnest
Expand Down
1 change: 0 additions & 1 deletion py-polars/docs/source/reference/series/categories.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ The following methods are available under the `Series.cat` attribute.

Series.cat.get_categories
Series.cat.is_local
Series.cat.set_ordering
Series.cat.to_local
Series.cat.uses_lexical_ordering
6 changes: 0 additions & 6 deletions py-polars/docs/source/reference/series/computation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ Computation
Series.cum_min
Series.cum_prod
Series.cum_sum
Series.cummax
Series.cummin
Series.cumprod
Series.cumsum
Series.cumulative_eval
Series.diff
Series.dot
Expand All @@ -44,13 +40,11 @@ Computation
Series.log
Series.log10
Series.log1p
Series.map_dict
Series.pct_change
Series.peak_max
Series.peak_min
Series.rank
Series.replace
Series.rolling_apply
Series.rolling_map
Series.rolling_max
Series.rolling_mean
Expand Down
8 changes: 0 additions & 8 deletions py-polars/docs/source/reference/series/descriptive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,19 @@ Descriptive
Series.estimated_size
Series.has_nulls
Series.has_validity
Series.is_boolean
Series.is_duplicated
Series.is_empty
Series.is_finite
Series.is_first
Series.is_first_distinct
Series.is_float
Series.is_in
Series.is_infinite
Series.is_integer
Series.is_last
Series.is_last_distinct
Series.is_nan
Series.is_not_nan
Series.is_not_null
Series.is_null
Series.is_numeric
Series.is_sorted
Series.is_temporal
Series.is_unique
Series.is_utf8
Series.len
Series.lower_bound
Series.n_chunks
Expand Down
Loading

0 comments on commit 22f115d

Please sign in to comment.