Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(python)!: Scheduled removal of deprecated functionality #16715

Merged
merged 32 commits into from
Jun 4, 2024

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Jun 4, 2024

Ref #13525

This does not include all deprecations, but it does include a good part of them. I left the slightly more complicated cases for a separate PR.

Changes

  • Removed many functions and methods that were deprecated in 0.19.x, 0.20.0, or were marked for expedited removal. See complete list below.
  • Removed many deprecated parameters that were renamed.
  • Made some parameters keyword-only that were deprecated as such.

Additional PRs that removed deprecated functionality:

Removed functions/methods

Namespace Function
global apply
cumfold
cumreduce
cumsum
cumsum_horizontal
map
DataFrame apply
frame_equal
find_idx_by_name
insert_at_idx
replace
replace_at_idx
groupby
groupby_dynamic
groupby_rolling
group_by_rolling
shift_and_fill
take_every
LazyFrame apply
map
groupby
groupby_dynamic
groupby_rolling
group_by_rolling
shift_and_fill
take_every
group_by apply
Expr is_first
is_last
is_not
keep_name
map_alias
prefix
suffix
cumcount
cummax
cummin
cumprod
cumsum
apply
map
rolling_apply
clip_max
clip_min
map_dict
shift_and_fill
take
take_every
Expr.list count_match
lengths
take
Expr.str count_match
json_extract
lengths
ljust
lstrip
n_chars
parse_int
rjust
rstrip
strip
Expr.dt days
hours
minutes
seconds
milliseconds
microseconds
nanoseconds
Series series_equal
view
shift_and_fill
take
take_every
set_at_idx
clip_max
clip_min
cummax
cummin
cumprod
cumsum
map_dict
apply
rolling_apply
is_boolean
is_float
is_integer
is_numeric
is_temporal
is_utf8
is_first
is_last
Series.cat set_ordering
Series.list count_match
lengths
take
Series.str count_match
json_extract
lengths
ljust
lstrip
n_chars
parse_int
rjust
rstrip
strip
Series.dt days
hours
minutes
seconds
milliseconds
microseconds
nanoseconds

@github-actions github-actions bot added breaking Change that breaks backwards compatibility enhancement New feature or an improvement of an existing feature python Related to Python Polars labels Jun 4, 2024
@stinodego stinodego marked this pull request as ready for review June 4, 2024 11:28
Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.44%. Comparing base (9912af0) to head (0a4b84f).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16715      +/-   ##
==========================================
- Coverage   81.49%   81.44%   -0.05%     
==========================================
  Files        1416     1413       -3     
  Lines      186880   186295     -585     
  Branches     3023     2816     -207     
==========================================
- Hits       152289   151723     -566     
+ Misses      34059    34040      -19     
  Partials      532      532              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stinodego stinodego merged commit a314cb6 into main Jun 4, 2024
22 checks passed
@stinodego stinodego deleted the breaking-scheduled-depr branch June 4, 2024 14:05
@c-peters c-peters added the accepted Ready for implementation label Jun 9, 2024
Wouittone pushed a commit to Wouittone/polars that referenced this pull request Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation breaking Change that breaks backwards compatibility enhancement New feature or an improvement of an existing feature python Related to Python Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants