[Numpy-discussion] memmory management question

Pierre Haessig pierre.haessig at crans.org
Mon Oct 28 09:25:45 EDT 2013

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
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 ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131028/5420dec7/attachment.sig>

More information about the NumPy-Discussion mailing list