[Numpy-discussion] Re: Numpy tools for getting the results of indexing operations

2023-01-31 Thread Aaron Meurer
I wrote the ndindex library to do exactly this sort of thing https://quansight-labs.github.io/ndindex/, namely the manipulation of NumPy index objects. Some of the things you mentioned aren't implemented yet (like checking if an index is an advanced index or not), but they are definitely in scope a

[Numpy-discussion] Re: Numpy tools for getting the results of indexing operations

2023-01-31 Thread Francesc Alted
+1 We are using ndindex for quite long time, and we have been impressed not only for how well it reproduces the NumPy indexing (bar exceptions like Aaron mentions), but also by the elegance of the API. Definitely a great complement to all libraries that has to handle n-dim data. Francesc On Tue,

[Numpy-discussion] Re: Numpy tools for getting the results of indexing operations

2023-01-31 Thread Mark Harfouche
Thanks. I've gotten pretty far in what I need to do for my limited scope. But I'll definitely read the docs and add it to the things I should use upon feature expansion! Basically, ive found that in many cases, task managers add too much overhead for operations that should be straightforward. How