[Numpy-discussion] wiki page correction
Pauli Virtanen
pav@iki...
Wed May 20 16:36:43 CDT 2009
Wed, 20 May 2009 12:08:46 -0700, Grant Kelly wrote:
> I believe there is an error on this wiki page:
>
> http://www.scipy.org/NumPy_for_Matlab_Users
>
>
> MATLAB
> y=x(2,:)
> PYTHON
> y = x[2,:].copy()
>
> shouldn't the Python version be:
> y = x[1,:].copy()
>
> If not, please advise.
Yes, it should be x[1,:].copy(). Please feel free to correct it.
--
Pauli Virtanen
More information about the Numpy-discussion
mailing list