numpy.get_printoptions

numpy.get_printoptions()

Return the current print options.

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

For a full description of these options, see set_printoptions.

Previous topic

numpy.set_printoptions

Next topic

numpy.set_string_function

This Page