Version 2.0.3
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 implementaxis=None
. The old default,flatten_records=False
, is now the only behavior, and to get the equivalent offlatten_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
inak.types.ArrayType
by @agoose77 in #2031 - refactor!: use exclusively
axis=-1
reduction foraxis=None
by @agoose77 in #2020
Other
- refactor: add array comparison test helper by @agoose77 in #2024
- docs: add sitemap by @agoose77 in #2026
- ci: drop pages deployment by @agoose77 in #2025
- ci: fix flake8 warning by @agoose77 in #2030
- chore: update pre-commit hooks by @pre-commit-ci in #2022
Full Changelog: v2.0.2...v2.0.3