InteractiveShell의 옵션 지정
InteractiveShell의 옵션을 지정하여 모두 출력되도록 할 수 있다
InteractiveShell.ast_node_interactivity : 'all' | 'last' | 'last_expr' | 'none' (기본값은 'last_expr')
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
참고: https://financedata.github.io/posts/display-all-values-in-cell-jupyter-notebook.html
'Python' 카테고리의 다른 글
[Python] 'is'와 '=='의 차이 (0) | 2022.01.01 |
---|---|
pip install requirements.txt (0) | 2021.11.06 |
[Python] 문자(한글, 영문)와 숫자만 나기고 특수문자 제거하기 (0) | 2021.11.03 |
[Python] [OpenCV] 이미지 읽기 cv2.imread() (0) | 2021.09.28 |
[Python] directory 다루기 (0) | 2021.08.24 |