news.volyx.in

Pre-Release of Polars 2.0 (pola.rs)

402 points by komape · 39 days ago · 137 comments on HN

Article summary

The Polars 2.0 pre-release is announced, focusing on removing deprecated features and changing defaults to more sensible settings. The major version bump is intended to get rid of past design decisions that block future development. The release includes improvements such as the streaming engine as default, stricter data validation, and more informative error messages. A migration guide is provided to help users transition to the new version.

Main themes

  • Polars 2.0 release
  • semantic versioning
  • library design
  • data validation
  • error handling
  • syntax and readability
  • data science libraries
  • language comparison

What commenters say

  • Some commenters appreciate the project's adherence to semantic versioning and removal of deprecated features.
  • Others argue that the frequency of deprecations and changes can be challenging to keep up with.
  • There is a discussion about the trade-offs between strictness and flexibility in library design.
  • Some users prefer the syntax and readability of SQL over Polars, while others find Polars more expressive and ergonomic.
  • The use of Polars is compared to other data science libraries and languages, such as Pandas and R.
  • Some commenters appreciate the ability to conditionally collect expressions and compute results in Polars.
  • Others argue that SQL is more readable and maintainable, especially for complex queries.