Re: [Numpy-discussion] Default values in scalar constructors
Francesc Altet wrote: >Hi, > >Is there any reason why the next works for some types: > >In [26]: numpy.int32() >Out[26]: 0 > >In [27]: numpy.float64() >Out[27]: 0.0 > >but don't for the next others? > >In [28]: numpy.int16() >
[Numpy-discussion] Default values in scalar constructors
Hi, Is there any reason why the next works for some types: In [26]: numpy.int32() Out[26]: 0 In [27]: numpy.float64() Out[27]: 0.0 but don't for the next others? In [28]: numpy.int16() --- Traceback (most rece