- 증상
Python에서 Numpy 배열 print시 콘솔 창에 [0, 0, ... 0, 0]등으로 일부분 생략되어 표시
- 해결
import sys
import numpy as np
np.set_printoptions(threshold=sys.maxsize)
'프로그래밍 관련 > [Python] 간단 해결' 카테고리의 다른 글
[Python] json.dumps() 한글 > 유니코드로 저장될 때 (0) | 2020.04.22 |
---|---|
[Python] OSError: mysql_config not found (Ubuntu 16.04) (0) | 2020.04.20 |
[CUDA] Windows10에서 간단하게 CUDA 사용률 확인하는 방법 (0) | 2020.02.14 |
[Python] Tensorflow 실행 시 CUBLAS_STATUS_ALLOC_FAILED 등의 그래픽카드 메모리 문제 해결 (0) | 2020.02.13 |
[Python] 판다스(Pandas) DataFrame / Print 출력 수 설정 (0) | 2020.02.07 |