Note
Numpy (23) 본문
728x90
How to limit the number of items printed in output of numpy array?
np.set_printoptions(threshold=6)
a = np.arange(15)
a
# output
array([ 0, 1, 2, ..., 12, 13, 14])
'Numpy' 카테고리의 다른 글
Numpy (25) (0) | 2022.08.16 |
---|---|
Numpy (24) (0) | 2022.08.15 |
Numpy (22) (0) | 2022.08.13 |
Numpy (21) (0) | 2022.08.12 |
Numpy (20) (0) | 2022.08.11 |
Comments