ํ๋ค 0.19.2, ์๋์ฐ ์๋ฒ 2012
๋ค๋ฅธ ๊ณณ์์๋ ๋์ผํ ์ค์ ์ด ์ ์์ ์ผ๋ก ์คํ๋๋ฉฐ ๋๋ฝ๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ผ๊ณ ๊ฐ์ ํฉ๋๋ค.
>>> import pandas
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "lib\pandas\__init__.py", line 39, in <module>
from pandas.core.api import *
File "lib\pandas\core\api.py", line 10, in <module>
from pandas.core.groupby import Grouper
File "lib\pandas\core\groupby.py", line 40, in <module>
from pandas.core.frame import DataFrame
File "lib\pandas\core\frame.py", line 72, in <module>
from pandas.core.series import Series
File "lib\pandas\core\series.py", line 2974, in <module>
import pandas.tools.plotting as _gfx # noqa
ImportError: No module named 'pandas.tools'
>>> quit()
์ผ๋ฐ์ ์ผ๋ก ์ด๊ฒ์ ์ค์น ๋ฌธ์ ๊ฐ ์์์ ์๋ฏธํฉ๋๋ค. ๋๋ ์ ๊ฑฐ / ์ฌ์ค์น (conda๋ฅผ ํตํด) ๋๋ pip
๋๋ก๋ (์ด์ ๋ฒ์ ์ conda๋ฅผ ์ฌ์ฉํ์ฌ) Windows์์ '๋ถ๋ถ' ์ค์น๋ฅผ ์ป์ ์ ์์ต๋๋ค.
๋์ํฉ๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
์ฌ์ค ์ด๊ฒ์ ๋ ๋ค๋ฅธ ๋ฌธ์ ์ผ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด:
from pandas.tools.plotting import autocorrelation_plot
์ค๋ฅ ๋ฐ์: ModuleNotFoundError: No module named 'pandas.tools'
๊ทธ๋ฌ๋ from pandas.plotting import autocorrelation_plot
๋ ์๋ฒฝํ๊ฒ ์๋ํฉ๋๋ค.
๊ฐ์ฌ ํด์
๊ณ ๋ง์, ๊ทธ๊ฒ์ ๋์ ํจ๊ป ์๋ํฉ๋๋ค.
์ฌ์ค ์ด๊ฒ์ ๋ ๋ค๋ฅธ ๋ฌธ์ ์ผ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด:
from pandas.tools.plotting import autocorrelation_plot
์ค๋ฅ ๋ฐ์:
ModuleNotFoundError: No module named 'pandas.tools'
๊ทธ๋ฌ๋
from pandas.plotting import autocorrelation_plot
๋ ์๋ฒฝํ๊ฒ ์๋ํฉ๋๋ค.
๋๋ฅผ ์ํด ์ ์๋ ..thnx
์ฌ์ค ์ด๊ฒ์ ๋ ๋ค๋ฅธ ๋ฌธ์ ์ผ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด:
from pandas.tools.plotting import autocorrelation_plot
์ค๋ฅ ๋ฐ์:
ModuleNotFoundError: No module named 'pandas.tools'
๊ทธ๋ฌ๋
from pandas.plotting import autocorrelation_plot
๋ ์๋ฒฝํ๊ฒ ์๋ํฉ๋๋ค.
์ด๊ฒ์ ๋๋ฅผ ์ํด ์ผํ์ต๋๋ค.
์ฌ์ค ์ด๊ฒ์ ๋ ๋ค๋ฅธ ๋ฌธ์ ์ผ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด:
from pandas.tools.plotting import autocorrelation_plot
์ค๋ฅ ๋ฐ์:
ModuleNotFoundError: No module named 'pandas.tools'
๊ทธ๋ฌ๋
from pandas.plotting import autocorrelation_plot
๋ ์๋ฒฝํ๊ฒ ์๋ํฉ๋๋ค.
๊ฐ์ฌ ํด์!
์ฌ์ค ์ด๊ฒ์ ๋ ๋ค๋ฅธ ๋ฌธ์ ์ผ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด:
pandas.tools.plotting์์ ๊ฐ์ ธ์ค๊ธฐ autocorrelation_plot
์ค๋ฅ ๋ฐ์: ModuleNotFoundError: 'pandas.tools'๋ผ๋ ๋ชจ๋์ด ์์ต๋๋ค.
๊ทธ๋ฌ๋ pandas.plotting์์ import autocorrelation_plot์ด ์๋ฒฝํ๊ฒ ์๋ํฉ๋๋ค.
์ด์์ต๋๋ค ๊ฐ์ฌํฉ๋๋ค!
scatter_matrix( pandas.plotting ์์ )๋ฅผ ๊ฐ์ ธ์ฌ ๋ ์ด๊ฒ์ ์ฌ์ฉํ์ญ์์ค.
from pandas.plotting import scatter_matrix
์ฌ์ค ์ด๊ฒ์ ๋ ๋ค๋ฅธ ๋ฌธ์ ์ผ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด:
from pandas.tools.plotting import autocorrelation_plot
์ค๋ฅ ๋ฐ์:
ModuleNotFoundError: No module named 'pandas.tools'
๊ทธ๋ฌ๋
from pandas.plotting import autocorrelation_plot
๋ ์๋ฒฝํ๊ฒ ์๋ํฉ๋๋ค.
๊ทธ๋ฌ๋ 'from pandas.plotting import autocorrelation_plot'์ด ์๋ํ๋ ์ด์ ๋ ๋ฌด์์ ๋๊น?
ํ์ธํ ์ ์์ต๋๋ค
scatter_matrix( pandas.plotting ์์ )๋ฅผ ๊ฐ์ ธ์ฌ ๋ ์ด๊ฒ์ ์ฌ์ฉํ์ญ์์ค.
from pandas.plotting import scatter_matrix
๋๋ฅผ ์ํด ์ผํ๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ฌ์ค ์ด๊ฒ์ ๋ ๋ค๋ฅธ ๋ฌธ์ ์ผ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด:
from pandas.tools.plotting import autocorrelation_plot
์ค๋ฅ ๋ฐ์:
ModuleNotFoundError: No module named 'pandas.tools'
๊ทธ๋ฌ๋
from pandas.plotting import autocorrelation_plot
๋ ์๋ฒฝํ๊ฒ ์๋ํฉ๋๋ค.