numpy magic: cast scalar returns auto to python types float & int ?

Robert Kern robert.kern at gmail.com
Fri Nov 17 13:40:56 EST 2006


robert wrote:

> Didn't find the relevant reasoning within time. Yet guess the reason is isolated-module-centric. 

I gave you a brief rundown on this list already.

  http://mail.python.org/pipermail/python-list/2006-October/411145.html

And I'll note again that a fuller discussion is given in Chapter 2 of the _Guide
to NumPy_.

  http://numpy.scipy.org/numpybooksample.pdf

And yet again, the best place for numpy questions is the numpy mailing list, not
here. Here, you will get maybe one or two people responding to you, usually me,
and I'm a cranky SOB. There you will get much nicer people answering your
questions and more fully.

  http://www.scipy.org/Mailing_Lists

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list