summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSamesh Lakhotia <43701530+sameshl@users.noreply.github.com>2019-07-10 00:36:35 +0530
committerSebastian Berg <sebastian@sipsolutions.net>2019-07-09 14:06:35 -0500
commitb93b0b879b1c6c35412e599786221dff5730bac0 (patch)
tree071bf29ae19c36a6f42be2f4a1c3912061a66f5c /doc
parentfc0043dea5c88d851ef4ce64679c957cd0a8a7e4 (diff)
downloadnumpy-b93b0b879b1c6c35412e599786221dff5730bac0.tar.gz
DOC:Update the description of set_printoptions in quickstart doc #13900 (#13948)
Quickstart guide recommends np.set_printoptions(threshold=np.nan) but that fails. So changed that to np.set_printoptions(threshold=sys.maxsize) Closes #13900 * DOC:Update the docstring of set_printoptions Add preferred max value for threshold is sys.maxsize * Revert "DOC:Update the docstring of set_printoptions" This reverts commit 9641121fcb84b9ad5edb188a4a5b4ac9361fbf0b. * DOC:Update the docstring of set_printoptions Add preferred max value for threshold is sys.maxsize * DOC:Update the docstring of set_printoptions Better pharasing in docstring. * DOC:Update the description of set_printoptions in quickstart doc #13900 Fix indentation
Diffstat (limited to 'doc')
-rw-r--r--doc/source/user/quickstart.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/user/quickstart.rst b/doc/source/user/quickstart.rst
index 15afc64f8..c8d964599 100644
--- a/doc/source/user/quickstart.rst
+++ b/doc/source/user/quickstart.rst
@@ -270,7 +270,7 @@ can change the printing options using ``set_printoptions``.
::
- >>> np.set_printoptions(threshold=np.nan)
+ >>> np.set_printoptions(threshold=sys.maxsize) # sys module should be imported
Basic Operations