[Numpy-discussion] data type specifications

Gary Pajer gary.pajer@gmail....
Wed Jan 23 06:00:55 CST 2008


On Jan 23, 2008 2:48 AM, Stefan van der Walt <stefan@sun.ac.za> wrote:
> Hi Gary
>
> On Tue, Jan 22, 2008 at 11:18:01AM -0500, Gary Pajer wrote:
> > Occasionally I find myself poking into docstrings and googling
> > randomly trying to find the proper way to specify a data type, or
> > trying to remind myself just what a "float" is.   I can never find the
> > info easily.
> >
> > Preferable:  Is there a docstring somewhere that lists the data types
> > and acceptable ways to specify them?
> > Less Preferable: Is there a web page?
>
> This should be a good starting place (search for dtype):
>
>   http://www.scipy.org/Numpy_Example_List

Thanks, Stéfan.
That link led me to the numpy dictionary
numpy.typeDict
which lists them all.

-gary

>
> Regards
> Stéfan
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the Numpy-discussion mailing list