I want to select a subset of elements from a large numpy array.
I'm near my memory limit so don't wish to create another array, rather I would like to do this downsampling in-place.
I've tried doing:
big_array = big_array[subset_of_big_array_indices]
But this results in an out of memory error.
Is there any way to do a selection (or deletion operation) in place?