futurewarning1 오류 해결 | 주피터, 코랩 future warning 제거하기 (pandas, seaborn) FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead. with pd.option_context('mode.use_inf_as_na', True): 주피터 노트북이나 코랩에서 pandas, seaborn, matplotlib 등 라이브러리를 사용할 때 위와 같이 퓨처 워닝 어쩌구 하면서 경고 메세지가 나타나서 꼴보기 싫은 경우가 있습니다. 이럴 때 warning 라이브러리를 임포트하는 방식으로 간단하게 해결이 가능합니다. import warningswarnings.simplefilter(action='ig.. 2024. 4. 9. 이전 1 다음