The Future of NumPy Indexing.
summary
NumPy advanced indexing proves powerful but inconsistent: a lookup-table image example yields 200 times faster execution via fancy indexing, yet multi‑dimensional rules produce surprising shape results and a long history of exceptions. The community produces a NEP to implement an intuitive and fully featured advanced indexing, a canonical Python mockup and a C implementation appeared quickly, and a proposal adds three indexers (PR 6075 adding orthogonal/vectorized/legacy behaviors) but broader adoption and reconciliation with other libraries remain unfinished.
AI-written summary · about
chapters (6)
- 0:00NumPy indexing challenges
- 7:29Fancy indexing
- 14:22NumPy indexing by dimension
- 26:463D array indexing chaos
- 33:31Fixes for NumPy indexing
- 35:20Q&A
related talks
27mAPL-Inspired Techniques for Advanced NumPy
01h 27mMaking computation easier with cool Numpy tricks
47mBig ideas shaping scientific Python: the quest for performance and usability
27mData Apis: Standardization of N-dimensional arrays and dataframes
35mThe "NumPy" Approach
34mNumPy: vectorize your brain
44mPython's Bright Future in Science
34mSmall Big Data: using NumPy and Pandas when your data...
