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.25k stars 212 forks source link

Copy transpose operation #476

Closed landmanbester closed 8 months ago

landmanbester commented 8 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 8 months ago

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