numpy
Initialization¶
Modifications for numpy interactive use.
Also worth noting is how Numpy and Scipy entirely circumvent the typical
help system, pydoc, and the paging functions in IPython with their
numpy.info()
and numpy.source()
functions.
See also
Autogenerated docs for Autogenerated docs for numpy-init¶
-
set_numpy_printoptions
(**kwargs)[source][source]¶ Define this function only if numpy can be imported.
But don’t end the script with sys.exit() because anything that imports this module will exit too. As the
__init__.py
imports this module the whole package breaks due to a simple installation issue.- Parameters
kwargs (dict) – Any options that should be overridden.