[Numpy-discussion] ndarray newbie question
robert.kern at gmail.com
Fri Jan 5 03:29:51 CST 2007
belinda thom wrote:
> Thanks for the reply.
> > Some context: the type of introspection I'm often wishing I could do
> > in a single, easy command usually has to do w/getting to know the
> > software better.
> obj.__doc__ ?
> When I try the latter recommendation above w/numpy arrays, I get:
> In : import numpy as N
> In : a = N.array([1,2,3])
> In : a.__doc__?
> Type: NoneType
> Base Class: <type 'NoneType'>
> String Form: None
> Namespace: Interactive
> <no docstring>
> Did you have something else in mind?
The ?s were not literal.
"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