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.21k stars 207 forks source link

Copy transpose operation #476

Closed landmanbester closed 6 months ago

landmanbester commented 6 months ago

Is there a way to do

x[...] = y.T

using numexpr? From the answer given here

https://stackoverflow.com/questions/67431966/how-to-avoid-huge-overhead-of-single-threaded-numpys-transpose

I believe there might be something to gain using numexpr for this purpose

FrancescAlted commented 6 months ago

No. For this, numba is reaching pretty good performance.