[Numpy-discussion] min/max not exported in "from numpy import *"
zhang.le.misc at gmail.com
Thu Jun 29 10:23:28 CDT 2006
> I'm going to take a wild-ass guess and suggest that was a concious decision
> by the authors. Shadowing builtins is generally a no-no. You just need to
> be explicit instead of implicit:
> from numpy import min, max
I see. But why by default sum is exported? Is that a wise decision?
In : from numpy import *
In : help sum
Help on function sum in module numpy.core.oldnumeric:
sum(x, axis=0, dtype=None)
More information about the Numpy-discussion