Note
Numpy (24) 본문
728x90
How to print the full numpy array without truncating
# Input
np.set_printoptions(threshold=6)
a = np.arange(15)
# Solution
np.set_printoptions(threshold=np.nan)
a
# output
array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14])
'Numpy' 카테고리의 다른 글
Numpy (26) (0) | 2022.08.17 |
---|---|
Numpy (25) (0) | 2022.08.16 |
Numpy (23) (0) | 2022.08.14 |
Numpy (22) (0) | 2022.08.13 |
Numpy (21) (0) | 2022.08.12 |
Comments