<div dir="ltr"><span style="font-family:arial;font-size:small">On Mon, Oct 28, 2013 at 1:25 PM, Pierre Haessig <<a href="mailto:pierre.haessig@crans.org">pierre.haessig@crans.org</a>> wrote:</span><br>><br>> Le 28/10/2013 13:40, Robert Kern a écrit :<br>

> > > What I didn't find (by quick googling) is how to access the original<br>> > > array. Is it possible to access it (with Python code) ?<br>> ><br>> > a.base<br>> Thanks! Is there a specific paragraph I missed in the user guide ?<br>

><br>> I had googled "numpy access original array" and  first result is<br>> <a href="http://docs.scipy.org/doc/numpy/user/basics.indexing.html">http://docs.scipy.org/doc/numpy/user/basics.indexing.html</a><br>

> In this document, it is mentionned several time that slicing yields<br>> "views of the original data", but the .base attribute is not mentionned.<br>> Should it be or is it out-of-scope of the Indexing guide ?<br>

<br>I think it's out-of-scope for "Numpy basics", certainly. It's mostly an implementation detail. There isn't much that you can usefully do with it as a user.<div><br></div><div><a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.base.html">http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.base.html</a><br>

<br>--<br>Robert Kern<br></div></div>