[Numpy-discussion] ndarray newbie question
robert.kern at gmail.com
Fri Jan 5 05:03:40 EST 2007
Pierre GM wrote:
> I agree that this one is not really informative. A
> provides a docstring interestingly truncated under ipython, but nothing
> useful either.
"a.__class__?" is the command that you are after, not "a.__class__.__doc__?".
a.__class__.__doc__ is a string, so interrogating it with ? will tell you
information about strings rather than a.__class__ .
"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 NumPy-Discussion