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!: Remove various functionalities deprecated before 0.18 #10527

Merged
merged 10 commits into from Aug 16, 2023

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Aug 16, 2023

These are all relatively minor things that have been deprecated a while ago. Getting rid of them to help keep our code base manageable.

Changes

  • DataFrame.pivot - change default for aggregate_function to None
  • Series.rename - remove in_place parameter
  • Series.time_unit - removed - use Series.dtype.time_unit
  • Series/Expr.str.strptime/to_datetime - remove no-op utc parameter
  • SQLContext.query - removed - use SQLContext.execute with eager=True.
  • scan_ds - removed - use scan_pyarrow_dataset
  • toggle_string_cache - removed - use enable_string_cache
  • Drop the old names of various renamed parameters.

(I'm really happy that we have the version numbers included with each deprecation now - makes this type of clean-up a lot easier!)

@stinodego stinodego added this to the 0.19 milestone Aug 16, 2023
@github-actions github-actions bot added breaking Change that breaks backwards compatibility internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars labels Aug 16, 2023
@stinodego stinodego force-pushed the breaking-remove-depr-pre-0.18 branch 2 times, most recently from 92fc6be to 742e85d Compare August 16, 2023 11:18
@stinodego stinodego force-pushed the breaking-remove-depr-pre-0.18 branch from 742e85d to d3d51e4 Compare August 16, 2023 11:41
@stinodego stinodego removed the internal An internal refactor or improvement label Aug 16, 2023
@stinodego stinodego changed the title refactor!: Remove various functionalities deprecated before 0.18. feat!: Remove various functionalities deprecated before 0.18. Aug 16, 2023
@github-actions github-actions bot added the enhancement New feature or an improvement of an existing feature label Aug 16, 2023
@alexander-beedie
Copy link
Collaborator

Nice; looking forward to the shiny new post-breaking era... ;)

@stinodego stinodego changed the title feat!: Remove various functionalities deprecated before 0.18. feat!: Remove various functionalities deprecated before 0.18 Aug 16, 2023
@stinodego stinodego merged commit f298627 into main Aug 16, 2023
15 checks passed
@stinodego stinodego deleted the breaking-remove-depr-pre-0.18 branch August 16, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Change that breaks backwards compatibility enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants