[SciPy-user] Object too deep for desired copy
14 Feb 2003 16:02:26 -0700
On Fri, 2003-02-14 at 13:18, Karthikesh Raju wrote:
> Hi All,
> Well, what does the above message mean. Being a matlaby, used to move
> around arrays, cut them chop them, didnt care abt references etc, suddenly
> was hit by this - object too deep for desired copy. Can someone explain
> what this means and how to circumnavigate it.
Didn't get the message. But, it sounds like an array with too many
dimensions was trying to be copied into another array.
>> a = rand(50,50)
>> a[:,10] = rand(25,50)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ValueError: Object too deep for desired array