numpy 1.22.4 Pypi GitHub Homepage
Other Docs
NotesParametersBackRef
info(object=None, maxwidth=76, output=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, toplevel='numpy')

Notes

When used interactively with an object, np.info(obj) is equivalent to help(obj) on the Python prompt or obj? on the IPython prompt.

Parameters

object : object or str, optional

Input object or name to get information about. If :None:None:`object` is a numpy object, its docstring is given. If it is a string, available modules are searched for matching objects. If None, information about info itself is returned.

maxwidth : int, optional

Printing width.

output : file like object, optional

File like object that the output is written to, default is stdout . The object has to be opened in 'w' or 'a' mode.

toplevel : str, optional

Start search at this level.

Get help information for a function, class, or module.

See Also

lookfor
source

Examples

This example is valid syntax, but we were not able to check execution
>>> np.info(np.polyval) # doctest: +SKIP
   polyval(p, x)
     Evaluate the polynomial p at x.
     ...

When using a string for :None:None:`object` it is possible to get multiple results.

This example is valid syntax, but we were not able to check execution
>>> np.info('fft') # doctest: +SKIP
     *** Found in numpy ***
Core FFT routines
...
     *** Found in numpy.fft ***
 fft(a, n=None, axis=-1)
...
     *** Repeat reference found in numpy.fft.fftpack ***
     *** Total of 3 references found. ***
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

numpy.ufunc numpy.lookfor numpy.info numpy.source numpy.linalg.cond

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /numpy/lib/utils.py#483
type: <class 'function'>
Commit: