Re: [Numpy-discussion] ndarray.copy does not accept keyword argument

2010-08-13 Thread Kurt Smith
On Thu, Aug 12, 2010 at 8:26 PM, Lutz Maibaum wrote: > According to the docstring, ndarray.copy should accept a keyword argument > "order". This doesn't seem to work for me: > np.array([[1,2],[3,4]]).copy(order='C') > Traceback (most recent call last): >  File "", line 1, in > TypeError: co

[Numpy-discussion] ndarray.copy does not accept keyword argument

2010-08-12 Thread Lutz Maibaum
According to the docstring, ndarray.copy should accept a keyword argument "order". This doesn't seem to work for me: >>> np.array([[1,2],[3,4]]).copy(order='C') Traceback (most recent call last): File "", line 1, in TypeError: copy() takes no keyword arguments Calling ndarray.copy with a posi