파이썬/팁
주피터노트북 설정 : filterwarnings 경고문끄기
한국수달보호협회장
2022. 7. 1. 21:32
https://rfriend.tistory.com/346
[Jupyter Notebook, ipython] 경고 메시지 숨기기 (ignore warning message)
Jupyter Notebook 이나 ipython 을 사용하다보면 향후 버전이 올라갈 때 변경될 사항 등을 알려주는 경고 메시지(warning message)가 거슬릴 때가 있습니다. 이럴 때는 warnings 라이브러리를 사용해서 - (1)
rfriend.tistory.com
import warnings
warnings.filterwarnings("ignore")
업데이트됐다며 말해주는 걸리적거리는 경고문을 안뜨게 해준다.