[Numpy-discussion] min/max not exported in "from numpy import *"
oliphant.travis at ieee.org
Thu Jun 29 12:30:15 CDT 2006
Zhang Le wrote:
>> 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?
Well, Numeric had the sum function long before Python introduced one.
NumPy adopted Numeric's sum function as well.
More information about the Numpy-discussion