Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'behaviorof' should take Array, not layouts, and setting 'behavior' should set the '__class__'. #1153

Merged
merged 3 commits into from Nov 17, 2021

Conversation

jpivarski
Copy link
Member

  • Also, all of the other uses of ak._util.behaviorof that are being passed layouts, rather than ak.Array wrappers (which is the level that could possibly have behaviors).

@jpivarski jpivarski linked an issue Nov 16, 2021 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Nov 16, 2021

Codecov Report

Merging #1153 (daf4fbf) into main (f795658) will increase coverage by 0.34%.
The diff coverage is 77.83%.

Impacted Files Coverage Δ
src/awkward/_v2/forms/bitmaskedform.py 75.64% <ø> (ø)
src/awkward/_v2/forms/bytemaskedform.py 76.05% <ø> (ø)
src/awkward/_v2/forms/emptyform.py 76.92% <ø> (ø)
src/awkward/_v2/forms/indexedoptionform.py 76.81% <ø> (ø)
src/awkward/_v2/forms/listform.py 75.94% <ø> (ø)
src/awkward/_v2/forms/listoffsetform.py 80.55% <ø> (ø)
src/awkward/_v2/forms/recordform.py 66.46% <ø> (ø)
src/awkward/_v2/forms/regularform.py 75.34% <ø> (ø)
src/awkward/_v2/forms/unionform.py 76.19% <ø> (ø)
src/awkward/_v2/forms/unmaskedform.py 74.57% <ø> (ø)
... and 52 more

@jpivarski jpivarski merged commit ccd7537 into main Nov 17, 2021
@jpivarski jpivarski deleted the jpivarski/issue-1152 branch November 17, 2021 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ak.where seems to lose the array behavior
1 participant