• 카테고리

    질문 & 답변
  • 세부 분야

    데이터 분석

  • 해결 여부

    미해결

에러가 계속나네요 뭔가가 또 업데이트 되었나요?

20.07.15 16:36 작성 조회수 234

0

import pandas_datareader as web

import pandas as pd

import datetime

import sqlite3

try:

    with sqlite3.connect('D:/python/section5/database/sqlite2.db') as conn:

        start = datetime.datetime(2018,2,1)

        end = datetime.datetime(2018,3,3)

        gs = web.DataReader('KRX: 090430','google',start,end) 

        print(gs)

finally:

    print("datetime SQL Work Complete!!")

아래와 같은 에러가 자꾸 뜨네요 휴 제가 뭘 잘 못 한건가요? 궁금합니다.

Traceback (most recent call last):
  File "D:\python\section5\5-5-1.py", line 16, in <module>
    gs = web.DataReader('KRX: 090430','google',start,end) #�Ƹ� �۽��� �ְ� �б�
  File "C:\Users\user\Anaconda3\envs\section5\lib\site-packages\pandas\util\_decorators.py", line 208, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\user\Anaconda3\envs\section5\lib\site-packages\pandas_datareader\data.py", line 376, in DataReader
    raise NotImplementedError(msg)
NotImplementedError: data_source='google' is not implemented
[Finished in 0.594s]

답변 2

·

답변을 작성해보세요.

0

tomato님의 프로필

tomato

2021.02.26

google 말고 yahoo finace 에서 TSLA 나 AAPL 조회 하면 잘 나옵니다. (구글이 막은 걸까요?)

0

DataReader 가 버전업이 되면서 바뀐 부분이 있는지 살펴볼께요!