
피어슨 상관계수 구하기 코드스니펫 카피에서 GPT에서 코드 구한다음에 COLAB에서 실행했더니 아래와 같은 오류가 뜹니다.
뭔가요?
You
financedatareader 로 삼성전자와 SK하이닉스의 날짜별 종가를 하나의 데이터프레임으로 보여주는 파이썬 코드를 만들어줘
겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-11-a43a3120b93e> in <cell line: 1>()
----> 1 import FinanceDataReader as fdr
2 import pandas as pd
3
4 def get_stock_prices(tickers, start_date, end_date):
5 """
ModuleNotFoundError: No module named 'FinanceDataReader'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
