A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://numpy.org/doc/stable/reference/generated/numpy.get_printoptions.html below:

numpy.get_printoptions — NumPy v2.2 Manual

numpy.get_printoptions#
numpy.get_printoptions()[source]#

Return the current print options.

Returns:
print_optsdict

Dictionary of current print options with keys

  • precision : int

  • threshold : int

  • edgeitems : int

  • linewidth : int

  • suppress : bool

  • nanstr : str

  • infstr : str

  • sign : str

  • formatter : dict of callables

  • floatmode : str

  • legacy : str or False

For a full description of these options, see set_printoptions.

Examples

>>> np.get_printoptions()
{'edgeitems': 3, 'threshold': 1000, ..., 'override_repr': None}
>>> np.get_printoptions()['linewidth']
75
>>> np.set_printoptions(linewidth=100)
>>> np.get_printoptions()['linewidth']
100

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3