NumPy Input and Output: get_printoptions() function

numpy.get_printoptions() function

The get_printoptions() function is used to get the current print options



Version: 1.15.0

Returns: print_opts : dict

Dictionary of current print options with keys

  • precision : int
  • threshold : int
  • edgeitems : int
  • linewidth : int
  • suppress : bool
  • nanstr : str
  • infstr : str
  • formatter : dict of callables
  • sign : str

For a full description of these options, see set_printoptions.

Python - NumPy Code Editor:

Previous: set_printoptions() function
Next: set_string_function()

Follow us on Facebook and Twitter for latest update.

We are closing our Disqus commenting system for some maintenanace issues. You may write to us at reach[at]yahoo[dot]com or visit us at Facebook