[SciPy-user] what does 'd' mean in array([0.0, 1.0, 2.0, 3.0], 'd')

fred fredmfp at gmail.com
Thu Aug 30 11:47:58 EDT 2007


dmitrey a écrit :
> hi all,
> during debug I obtain
>  >>> x
> array([0.5, 1.5, 2.5, 3.5], 'd')
>
> What does this 'd' mean?
>   
It means "double", aka float64.
'f' for float32, etc.

Please try

array?

under ipython for more information.

-- 
http://scipy.org/FredericPetit




More information about the SciPy-User mailing list