summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index 934d08dc8..9b6d1c036 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -27,8 +27,8 @@ _summaryThreshold = 1000 # total items > triggers array summarization
_float_output_precision = 8
_float_output_suppress_small = False
_line_width = 75
-_nan_str = 'NaN'
-_inf_str = 'Inf'
+_nan_str = 'nan'
+_inf_str = 'inf'
if sys.version_info[0] >= 3:
from functools import reduce
@@ -59,9 +59,9 @@ def set_printoptions(precision=None, threshold=None, edgeitems=None,
Whether or not suppress printing of small floating point values
using scientific notation (default False).
nanstr : str, optional
- String representation of floating point not-a-number (default NaN).
+ String representation of floating point not-a-number (default nan).
infstr : str, optional
- String representation of floating point infinity (default Inf).
+ String representation of floating point infinity (default inf).
See Also
--------