[Numpy-discussion] ANN: NumPy/SciPy Documentation Marathon 2008
Stéfan van der Walt
stefan at sun.ac.za
Thu May 22 07:04:33 EDT 2008
It looks like there is significant interest in using "np" instead of
"numpy" in the examples (i.e. we expect the user to do "import numpy
as np" before trying code snippets).
Would anybody who objects to using "np" raise it now, so that we can
bury this issue?
Regards
Stéfan
2008/5/22 Rob Hetland <hetland at tamu.edu>:
>
> On May 22, 2008, at 11:37 AM, Pauli Virtanen wrote:
>
>> Or should we "assume from numpy import *" or "import numpy as np"? I
>
>
> Although a good case could probably be made for all three (*, np,
> numpy), I think that if "import numpy as np" is to be put forward as
> the standard coding style, the examples should use this as well.
>
> -Rob
>
> ----
> Rob Hetland, Associate Professor
> Dept. of Oceanography, Texas A&M University
> http://pong.tamu.edu/~rob
> phone: 979-458-0096, fax: 979-845-6331
>
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
More information about the NumPy-Discussion
mailing list