Releases: scikit-hep/awkward
Version 2.0.10
New features
Bug-fixes and performance
Other
- docs: fix URI to header-only LayoutBuilder examples by @agoose77 in #2279
- chore: update pre-commit hooks (#2286)Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> by @pre-commit-ci in #2286
Full Changelog: v2.0.9...v2.0.10
Version 2.0.9
New features
- feat: keep column order after filtering flag by @ianna in #2234
- feat: Awkward Arrays in Numba's CUDA target by @ianna in #1809
- feat: add 'highlevel' and 'behavior' arguments to 'ak.from_rdataframe' function by @ianna in #2258
Bug-fixes and performance
- fix: set dtype in
full_like
by @agoose77 in #2251 - fix: use
simplified
inak._do.merge_as_union
by @agoose77 in #2240 - fix: support unknown content length in
to_packed
by @agoose77 in #2263 - fix: run-lengths with typetracer by @agoose77 in #2259
- fix: add trivial
nan_to_num
impl by @agoose77 in #2266 - fix: add
ak.broadcast_fields
by @agoose77 in #2267 - fix: keep column order in all tests by @ianna in #2276
Other
- test: numba cuda tests by @ianna in #2264
- docs: add missing entries to toctree by @agoose77 in #2270
- docs: fix build for latest theme by @agoose77 in #2274
- docs: RDataFrame add multi-threaded example by @ianna in #2269
- docs: add Numba CUDA guide (#2260)Co-authored-by: Angus Hollands goosey15@gmail.com Co-authored-by: Jim Pivarski jpivarski@users.noreply.github.com Co-authored-by: Jim Pivarski jpivarski@gmail.com by @ianna in #2260
- chore: use scikit-build-core 0.2's build-dir by @henryiii in #2252
- chore: more Ruff by @henryiii in #2184
- chore: update pre-commit hooks by @pre-commit-ci in #2255
- chore: update pre-commit hooks by @pre-commit-ci in #2272
- chore: Ruff updates from dev guidelines (#2268)Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jim Pivarski jpivarski@users.noreply.github.com by @henryiii in #2268
Full Changelog: v2.0.8...v2.0.9
Version 2.0.8
New features
- feat: allow awkward type arrays filtering based on rdfentry by @ianna in #2202
- feat!: re-introduce
unknown-length
by @agoose77 in #2229
Bug-fixes and performance
- fix: keep
EmptyArray
inremove_structure
by @agoose77 in #2219 - fix: add
is_c_contiguous
method to Cupy by @ianna in #2221 - fix: boolean indexing with non-zero starting offsets by @agoose77 in #2216
- fix: add license to _backends by @ianna in #2224
- fix: use of size in
to_RegularArray
by @agoose77 in #2226 - fix: indexing into
RegularArray
with typetracer by @agoose77 in #2227 - fix: support length-zero outer arrays in almost_equal by @agoose77 in #2210
- fix: support options in
ak.merge_union_of_records
by @agoose77 in #2236 - fix: don't merge non-union parameters by @agoose77 in #2241
- fix: boolean slicing with non-packed arrays by @agoose77 in #2246
Other
- refactor: add type hints for
Content._getitem_XXX
by @agoose77 in #2223 - refactor: drop
NumpyLike.known_shape
by @agoose77 in #2228 - refactor: change
Content._getitem_range
to use explicit indices by @agoose77 in #2220 - docs: fix example for
merge_union_of_records
by @agoose77 in #2213 - docs: add 1.10 legacy docs to
switcher.json
by @agoose77 in #2217 - docs: reintroduce Content documentation from v1 reST files. by @jpivarski in #2231
- docs: add
how-to-examine-type.md
by @agoose77 in #2013 - docs: improve ragged indexing docs by @agoose77 in #2247
- chore: include cuda kernel tests in sdist by @agoose77 in #2218
- chore(deps): bump amannn/action-semantic-pull-request from 5.0.2 to 5.1.0 by @dependabot in #2232
- chore: update pre-commit hooks by @pre-commit-ci in #2215
Full Changelog: v2.0.7...v2.0.8
Version 2.0.7
- feat: add ability to forget length of typetracer created with
typetracer_from_report
by @douglasdavis in #2141 - feat: start hardening nplike signatures by @agoose77 in #2148
- feat: implement all ufuncs on TypeTracer. by @jpivarski in #2149
- feat: use
None
for unknown lengths (1 of 2) by @agoose77 in #2168 - feat: coerce backends to same zero-copy type (2 of 2) by @agoose77 in #2175
- feat: growable buffer move_to method by @ianna in #2178
- feat: add
ak.merge_union_of_records
by @agoose77 in #2185 - feat: add support for histogram module by @agoose77 in #2190
- feat: add
ak.approx_equal
by @agoose77 in #2198
Bug-fixes and performance
- fix: re-order cases to handle NumPy scalar types properly by @agoose77 in #2125
- fix: specify
dtype
for buffers infrom_rdataframe
. by @agoose77 in #2145 - fix: unify typestr with
_repr
by @agoose77 in #2158 - fix: update
type_to_name
for Layout buildercxx_14
target by @ianna in #2165 - fix: Layout builders clean and length bug fixes by @ianna in #2171
- fix: support
mask_identity=True
foraxis=None
inptp
,std
, etc. by @agoose77 in #2172 - fix: preserve dimensions for
keepdims=True
,axis=None
reductions by @agoose77 in #2177 - fix: some usages of
len(layout)
under typetracer by @agoose77 in #2181 - fix: rdataframe memory check by @ianna in #2155
- fix: rework parameter merging rules by @agoose77 in #2179
- fix: don't raise
NotImplementedError
when reading empty array from Parquet by @dsavoiu in #2194 - fix: ignore object arrays by @agoose77 in #2206
- fix: ak.values_astype now turns 'unknown' type into the requested type. by @jpivarski in #2196
Other
- refactor: remove
to_arraylib
by @agoose77 in #2128 - refactor: move
Singleton
to its own module by @agoose77 in #2131 - refactor: move kernel logic to _kernels by @agoose77 in #2132
- refactor: use
nplike.asarray
by @agoose77 in #2134 - refactor: remove dead code by @agoose77 in #2139
- refactor: make
nplike.zeros
et al. use Array API type signatures by @agoose77 in #2137 - refactor: move typetracer ufunc handling to backend [1 of 2] by @agoose77 in #2150
- refactor: split
_nplikes.py
into_nplikes/*.py
[2 of 2] by @agoose77 in #2152 - refactor: drop
UnknownScalar
, harden unknown scalar behavior by @agoose77 in #2154 - docs: fix bold docstring due to indent by @agoose77 in #2122
- docs: disable IPyParallel & load dependencies in reverse order by @agoose77 in #2126
- docs: improve error message by @agoose77 in #2201
- docs: add dsavoiu as a contributor for code by @allcontributors in #2204
- ci: test NumPy < 1.17 by @agoose77 in #2142
- ci: run header-only tests by @agoose77 in #2169
- chore: apply changes from flake8 by @agoose77 in #2130
- chore: isolate nox dependencies in
noxfile
by @agoose77 in #2136 - chore: drop unused nplike functions by @agoose77 in #2138
- chore: add helpful message if cpp install is not prepared by @agoose77 in #2146
- chore: move to Ruff by @henryiii in #2153
- chore(deps): bump pypa/cibuildwheel from 2.11.4 to 2.12.0 by @dependabot in #2133
- chore: update Ruff version by @henryiii in #2174
- chore: ruff rewrite
not in
by @henryiii in #2176 - chore: ruff rewrite dicts by @henryiii in #2183
New Contributors
Full Changelog: v2.0.6...v2.0.7
Version 2.0.6
New features
- feat: expose typetracer in public backend API by @agoose77 in #2066
- feat: add byteorder argument to
to_buffers
by @agoose77 in #2095 - feat: add exception for missing field by @agoose77 in #2120
Bug-fixes and performance
- fix: support scalars in tuple (and list) arguments provided to
__array_function__
by @agoose77 in #2045 - fix: support option-in-record for
fill_none
by @agoose77 in #2065 - fix: support unzipping
ak.Record
by @agoose77 in #2077 - fix: render keyword and varargs by @agoose77 in #2074
- fix: don't try to re-wrap
array_function
overload results by @agoose77 in #2079 - fix: support merging of
RegularArray
andNumpyArray
by @agoose77 in #2063 - fix: correct NumPy zero-size broadcasting by @agoose77 in #2083
- fix: implement explicit translation for NEP-18 by @agoose77 in #2089
- fix: listarray - slicing expects scalars by @ianna in #2069
- fix: off-by-one error in
run_lengths
by @agoose77 in #2093 - fix: broken links due to cpp split by @agoose77 in #2087
- fix: unflatten should accept non-packed
counts
by @agoose77 in #2097 - fix: remove string casting from
ak.to_layout
by @agoose77 in #2098 - fix: support categorical counts in
ak.unflatten
by @agoose77 in #2099 - fix: use pickleable closure for
ak.mixin_class_method
by @agoose77 in #2102 - fix: be more permissive with sort translation by @agoose77 in #2112
- fix: merging 1D
NumpyArray
with option by @agoose77 in #2105 - fix: support
is_indexed
types inak.fill_none
by @agoose77 in #2111 - fix: use
object.__new__(ak.Array)
for pickling constructor by @agoose77 in #2113 - fix: remove Long64_t from common header-only by @ianna in #2084
- fix:
TypeTracerArray
binary operators,ak.Array.__str__
with a typetracer, attempts to calltouch_data
on non-typetracers, ...? by @jpivarski in #2115 - fix: add
ScalarType
and treat bare strings as char arrays by @agoose77 in #2116 - fix: ensure Exception if branch evaluates for Awkward type by @agoose77 in #2019
Other
- refactor: add
@final
to contents, types, and forms by @agoose77 in #2033 - refactor: remove
kind
andorder
args to sorting protocols by @agoose77 in #2090 - docs: remove reference to sorting implementation by @agoose77 in #2114
- test: fix on win32 by @agoose77 in #2117
- ci: remove link checker by @agoose77 in #2075
- chore: update pyodide-build by @agoose77 in #2060
- chore: update pre-commit hooks by @pre-commit-ci in #2039
- chore(deps): bump pypa/cibuildwheel from 2.11.3 to 2.11.4 by @dependabot in #2038
- chore(deps): bump mymindstorm/setup-emsdk from 11 to 12 by @dependabot in #2119
Full Changelog: v2.0.5...v2.0.6
Version 2.0.5
New features
(none!)
Bug-fixes and performance
- fix: remove unused keyword arg by @agoose77 in #2046
- fix: support
regular_to_jagged
inContent._recursively_apply
/ak.transform
by @agoose77 in #2048 - fix: read behavior from highlevel
ak.ArrayBuilder
by @agoose77 in #2052 - fix: rebuild invalid
check
pointers inArrayBuilder
by @agoose77 in #2055
Other
- docs: correct canonical URL by @agoose77 in #2040
- docs: correct docstring for
ak.metadata_from_parquet
by @agoose77 in #2050 - test: rename tests to use identifiers by @agoose77 in #2044
- chore: fix poor rename by @agoose77 in #2049
- chore: increase awkward-cpp version for #2055. by @jpivarski in #2056
Full Changelog: v2.0.4...v2.0.5
Version 2.0.4
This follows quickly on 2.0.3, which removed a feature and a function argument. Removing the feature is still the right thing to do (see the 2.0.3 release notes), but the function argument needs to go through a deprecation cycle, since libraries like dask-awkward pass arguments through to Awkward. Removing flatten_records
as an argument introduces an error, even if the surviving case of flatten_records=False
is desired.
This will also be a good exercise of the deprecation schedule in 2.x.
New features
(none!)
Bug-fixes and performance
Other
(none!)
Full Changelog: v2.0.3...v2.0.4
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
Version 2.0.2
Version 2.0.1
New features
Bug-fixes and performance
- fix: missed a NumpyArray.raw call without an underscore. by @jpivarski in #1993
- fix: add
Record.copy
by @agoose77 in #1996 - fix: support empty record arrays in
ak.to_numpy
by @agoose77 in #2012 - fix: widen input support for
ak.type()
by @agoose77 in #2009
Other
- docs: restore branch preview by @agoose77 in #1994
- docs: add note in README.md about pip installing through git. by @jpivarski in #2005
- docs: redirect paths for user-guide by @agoose77 in #2007
- docs: remove mention of numexpr by @agoose77 in #2011
- docs: first pass on subset of user guide by @agoose77 in #2010
- ci: output linkcheck information by @agoose77 in #1987
- ci: wip for deployment on AWS by @agoose77 in #2002
- chore: update pre-commit hooks by @pre-commit-ci in #1999
- chore: remove old
num
kernels by @agoose77 in #1998 - chore: add ABI version number to AwkwardForth by @jpivarski in #2001
Full Changelog: v2.0.0...v2.0.1