pydata / numexpr

Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more
https://numexpr.readthedocs.io/en/latest/user_guide.html
MIT License
2.23k stars 210 forks source link

Remove usage of deprecated np.alltrue(). #447

Closed rchen152 closed 1 year ago

rchen152 commented 1 year ago

np.alltrue is recently deprecated: https://numpy.org/doc/stable/release/1.25.0-notes.html#deprecations.

I left np.all aliased to alltrue because all is also the name of a builtin, and some linters complain if you overwrite a builtin.

FrancescAlted commented 1 year ago

LGTM. Thanks!