[Numpy-discussion] numpy reference array
mpuecker at mit.edu
Mon Mar 18 09:42:09 EDT 2013
Chris Barker - NOAA Federal <chris.barker <at> noaa.gov> writes:
> check out "stride tricks" for clever things you can do.
> But numpy does require that the data in your array be a contiguous
> block, in order, so you can't arbitrarily re-arrange it while keeping
> a view.
Thanks for the reply, you've just saved me a lot of time. I did run across
'views' but it looked like I couldn't have my data arbitrarily arranged. Thank
you for confirming that. Unfortunately my desired view does not fit a neat
More information about the NumPy-Discussion