Skip to content

Version 2.0.3

Compare
Choose a tag to compare
@jpivarski jpivarski released this 23 Dec 18:09
· 852 commits to main since this release
bd3efcc

Backward-incompatible changes

  • The flatten_records argument of all reducers (ak.all, ak.any, ..., ak.var) has effectively been removed: setting it now raises an error (PR #2020). This argument applies a reducer to all contents of a record, merging fields, and it had to be removed to properly implement axis=None. The old default, flatten_records=False, is now the only behavior, and to get the equivalent of flatten_records=True, you can use ak.ravel:
ak.sum(array, flatten_records=True)

becomes

ak.sum(ak.ravel(array))

Note: yanked from PyPI in favor of 2.0.4.

New features

  • feat: add data-touch reporting to the type-tracer. by @jpivarski in #2027

Bug-fixes and performance

  • fix: extend TypeTracerArray with eq, ne, and array_ufunc. by @jpivarski in #2021
  • fix: add support for Long64_t by @ianna in #2023
  • fix: replace protocol with direct subclass by @agoose77 in #2029
  • fix: support UnknownLength in ak.types.ArrayType by @agoose77 in #2031
  • refactor!: use exclusively axis=-1 reduction for axis=None by @agoose77 in #2020

Other

Full Changelog: v2.0.2...v2.0.3