pandas datareader raises AttributeError: module 'pandas.io' has no attribute 'data'

后端 未结 6 898
长发绾君心
长发绾君心 2020-12-11 07:22

This is a code I am trying

import matplotlib.pyplot as plt    
import pandas as pd
ticker = \'GLD\'
begdate = \'2014-11-11\'
enddate = \'2016-11-11\'
data1 =         


        
6条回答
  •  臣服心动
    2020-12-11 07:49

    My guess is you updated pandas to a newer version which no longer supports io.data

    See here for fix http://pandas.pydata.org/pandas-docs/stable/remote_data.html

提交回复
热议问题