강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

chokine12님의 프로필 이미지
chokine12

작성한 질문수

파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기

파이썬 & 데이터베이스 연동 with Pandas(ORM)

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

작성

·

399

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

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

0

좋은사람님의 프로필 이미지
좋은사람
지식공유자

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

chokine12님의 프로필 이미지
chokine12

작성한 질문수

질문하기