[Numpy-discussion] memmory management question
robert.kern at gmail.com
Mon Oct 28 09:56:00 EDT 2013
On Mon, Oct 28, 2013 at 1:25 PM, Pierre Haessig <pierre.haessig at crans.org>
> 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 ?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion