[Numpy-discussion] Numpy-discussion Digest, Vol 19, Issue 44

Hans Meine meine at informatik.uni-hamburg.de
Thu Apr 10 05:34:24 EDT 2008


Am Donnerstag, 10. April 2008 11:05:35 schrieb Matthew Brett:
> type thing.  Upper case also draws the eye to the capital letter, so
>
> print N.sin(a)
>
> pulls the eye to the N, so you have to disengage and remind yourself
> that it's the sin(a) that is important, whereas:
>
> print np.sin(a)
>
> less so - in my view.  So, as a previous user of 'import numpy as N',
> I prefer 'import numpy as np'

+1

-- 
Ciao, /  /
     /--/
    /  / ANS



More information about the NumPy-Discussion mailing list