We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
max and min functions on pdarrays of type bool should return bool to better align with numpy:
max
min
bool
In [7]: pda = ak.zeros(size, dtype=dtype) In [8]: ak.max(pda) Out[8]: 0 In [9]: type(ak.max(pda)) Out[9]: numpy.int64 In [10]: type(np.max(pda.to_ndarray())) Out[10]: numpy.bool_
The text was updated successfully, but these errors were encountered:
Closes Bears-R-Us#3864 max and min of bool to return bool like numpy
1e28c6f
f6e1a00
Closes #3864 max and min of bool to return bool like numpy (#3901)
d7ca013
Co-authored-by: Amanda Potts <[email protected]>
ajpotts
Successfully merging a pull request may close this issue.
max
andmin
functions on pdarrays of typebool
should returnbool
to better align with numpy:The text was updated successfully, but these errors were encountered: