[SciPy-user] Concatenate without making a copy? + sandbox: models

Robert Kern robert.kern at gmail.com
Wed Jan 3 21:19:00 CST 2007

Vincent Nijs wrote:
> Robert,
> If x is:
> Array([[1,4],
>        [2,3],
>        [3,5]])
> And d = {'x0':x[:,0], 'x1':x[:,1]}
> Would d['x0'] and d['x1'] be next to each other in memory?

Yes, they would, for these purposes.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

More information about the SciPy-user mailing list