Questions tagged [numpy]

NumPy is a Python module, adding support for large, multi-dimensional arrays and matrices, along with a large library of high-level mathematical functions to operate on these arrays.

Official NumPy Page.

Wikipedia Page.

471 questions
2
votes
1 answer

Transforming Indices from NumPy Array to Sliced Array, then Back

I’ve got a 2D NumPy Array derived from a Digital Elevation Model. I’m iterating through a series of specific row/col locations in the array and for each specified location, I’d like to define the nearest element whose value is lower than the current…
Jae
  • 1,302
  • 8
  • 10