Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy set_printoptions

with np.printoptions(precision=2, suppress=True, threshold=5):
...     np.linspace(0, 10, 10)
array([ 0.  ,  1.11,  2.22, ...,  7.78,  8.89, 10.  ])
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #numpy
ADD COMMENT
Topic
Name
8+3 =