Reading manual pages

When we are in IPython's pylab mode ($ ipython –pylab), we can open manual pages for NumPy functions with the help command. It is not necessary to know the name of a function. We can type a few characters and then let tab completion do its work. Let's, for instance, browse the available information for the arange() function.

We can browse the available information in either of the following two ways:

  • Calling the help function: Call the help command. Type in a few characters of the function and press the Tab key.
    Reading manual pages
  • Querying with a question mark: Another option is to append a question mark to the function name. You will then, of course, ...

Get Python Data Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.