On Mon, Oct 7, 2013 at 1:15 PM, Siegfried Gonzi
<sgo...@staffmail.ed.ac.uk>wrote:

> Hi all
>
> What is the equivalent to IDL its help function, e.g.
>
> ==
> IDL> a = make_array(23,23,)
>
> IDL> help,a
>
> will result in:
>
> A               FLOAT     = Array[23, 23]
>
> or
>
> IDL> a = create_struct('idl',23)
>
> IDL> help,a
>
> gives:
>
> A               STRUCT    = -> <Anonymous> Array[1]
>
> ==
>
> I have been looking for it ever since using numpy. It would make my life
> so much easier.
>
>
> Thanks, Siegfried
>
>
help(a)

Note that this is an inherent feature of python, not just numpy. So, you
can do help(range) or help(np.zeros) or any such thing.

Cheers!
Ben Root
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to