[Numpy-discussion] A simple question about type().

Andrea Riciputi ariciputi at pito.com
Thu Mar 11 04:18:13 EST 2004

it is surely a silly question, but I'm quite new to Python and Numpy. 
So I hope you can help me, I've searched Numpy's manual without 

Suppose I want to test if a paremeter inside a function is an array or 
not. How can I test this?

type(my_array) is array

returns 'False'!!

Thanks in advance,
Andrea Riciputi

"Science is like sex: sometimes something useful comes out,
   but that is not the reason we are doing it" -- (Richard Feynman)

More information about the NumPy-Discussion mailing list