data type specifications
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? Least Preferable: I have The Book, but it's usually not accessible when I need it for this kind of on-the-fly question. thanks, gary
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 Regards Stéfan
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):
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
participants (2)
-
Gary Pajer -
Stefan van der Walt