On Mon, Oct 28, 2013 at 1:25 PM, Pierre Haessig <[email protected]>
wrote:
>
> Le 28/10/2013 13:40, Robert Kern a écrit :
> > > What I didn't find (by quick googling) is how to access the original
> > > array. Is it possible to access it (with Python code) ?
> >
> > a.base
> Thanks! Is there a specific paragraph I missed in the user guide ?
>
> I had googled "numpy access original array" and  first result is
> http://docs.scipy.org/doc/numpy/user/basics.indexing.html
> In this document, it is mentionned several time that slicing yields
> "views of the original data", but the .base attribute is not mentionned.
> Should it be or is it out-of-scope of the Indexing guide ?

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.

http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.base.html

--
Robert Kern
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to