github pola-rs/polars py-0.16.14
Python Polars 0.16.14

latest releases: py-1.13.0, rs-0.44.2, rs-0.44.1...
20 months ago

🚀 Performance improvements

  • optimize string kernels, (elide redundant allocs) (#7602)
  • even faster polars module import (~15%) (#7584)
  • optimize str_replace for same length replacements ~2x (#7580)
  • reinstate fast module import and optimise DataFrame init by implementing dynamic singledispatch registration (#7559)
  • improve perf or str.replace_n and add n argument ~10x (#7575)
  • speedup replace_literal_all of single byte replacements ~15x. (#7565)
  • set sorted flags (#7558)
  • extend ultrafast constant-value frame init to temporal types (over 1,000x speedup) (#7527)

✨ Enhancements

  • slightly more space-efficient table output (use ellipsis char, not three periods) (#7599)
  • implement decimal -> dtype cast (#7600)
  • use head on pyarrow datasets (#7570)
  • overwrite streaming chunk size (#7543)

🐞 Bug fixes

  • remove index columns in pandas to_sql() (#7596)
  • add decimal chunk_lengths (#7589)
  • fix ooc sort. the fast path was invalid (#7588)
  • Fix regression throwing AmbiguousTimeError in groupby_dynamic (#7454)
  • activate dtype-duration for polars-ops (#7582)
  • distinct project whole schema if not a subset (#7581)
  • reinstate fast module import and optimise DataFrame init by implementing dynamic singledispatch registration (#7559)
  • sql window functions (#7458)
  • respect time zone in upsample (#7563)
  • fix rolling windows for windows that shrink from lhs (#7556)
  • remove pyarrow from construction and dispatch to rust (#7551)
  • fix negative indexing for head/tail (#7554)
  • Remove BatchedCsvReader from public API (#7546)
  • fix logical/list getitem (#7545)
  • pushdown key in merge sorted projection pd (#7542)
  • don't upcast column to string in 'is_in' operation (#7538)

🛠️ Other improvements

  • Move more code out of internals (#7597)
  • add a performance hint about use of lru_cache to the apply docstrings (#7593)
  • Avoid pli in type hints (part 2) (#7587)
  • Avoid pli in type hints (part 1) (#7586)
  • Move core objects to top level (#7576)
  • Bump ruff (#7567)
  • Rename namespace Array -> List in docs (#7541)
  • Move fmt tests to test_fmt (#7555)
  • Rename sep arg to separator (#7533)
  • Minor Series cleanup (#7531)

Thank you to all our contributors for making this release possible!
@MarcoGorelli, @Vincenthays, @alexander-beedie, @ritchie46, @stinodego, @universalmind303 and @vincev

Don't miss a new polars release

NewReleases is sending notifications on new releases.