Closed raghunila closed 1 month ago
I don't see what the problem is. You're trying to index by an ndarray
. The IndexError
tells you that that is not an accepted type. Implementing all aspects of numpy
indexing is highly non-trivial, consumes a lot of flash space, and RAM. For that reason, you can't do everything that you can do in numpy
.
I think https://github.com/v923z/micropython-ulab/tree/take addresses the issue raised here, so I'll close this, once take
is merged into master
.
Describe the bug built from main branch Issue is while rearranging 2 dimensional array, giving below error IndexError: indices must be integers, slices, or Boolean lists but works good with python 3.2 and numpy package
To Reproduce run this python console with ulab build
Expected behavior columns should re arrange.
Additional context