2022년 5월 6일 금요일

Orange3 경고 FutureWarning: pandas.Int64Index

 맥에서 오렌지3를 실행할때 가상환경으로 이동한후 

$ orange-canvas 

또는

$ orange-canvas &

하여 백그라운드로 실행하는데

(orange3) jglee@iMac Orange3 % orange-canvas

/Users/jglee/opt/miniconda3/envs/orange3/lib/python3.8/site-packages/statsmodels/tsa/base/tsa_model.py:7: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.

  from pandas import (to_datetime, Int64Index, DatetimeIndex, Period,

/Users/jglee/opt/miniconda3/envs/orange3/lib/python3.8/site-packages/statsmodels/tsa/base/tsa_model.py:7: FutureWarning: pandas.Float64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.

  from pandas import (to_datetime, Int64Index, DatetimeIndex, Period,

(orange3) jglee@iMac Orange3 % code   /Users/jglee/opt/miniconda3/envs/orange3/lib/python3.8/site-packages/statsmodels/tsa/base/tsa_model.py

과 같은 경고 메시지가 나옵니다.

nano, vim, VSCode 등 에디터로 tsa_model.py 를 불러들여 Int64Index 와 Float64Index를 Index로 바꾸어 주면 됩니다.

바꾸어주고 실행하면 깔끔합니다.

화면이 지저분해서지 실행하는데는 전혀 지장이 없습니다.


댓글 없음:

tensorflow gpu 사용하기에서

 tensorflow 설치시 주의해야 한다. # Anything above 2.10 is not supported on the GPU on Windows Native python - m pip install "tensorflow<2.11...