We can open the documentation 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. For instance, let's browse the available information for the arange()
function.
We can browse the available information in either of the following ways:
Calling the help function: Call the
help
command. Type a few characters of the function and then press the Tab key (see the following screenshot):Querying with a question mark: Another option is to put a question mark behind the function name. You will then, of course, need to know the function name, but you don't have to type the
help
command:In [3]: arange?