pandas DataReader error on all data sources - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: pandas DataReader error on all data sources (/thread-8754.html) |
pandas DataReader error on all data sources - glidecode - Mar-06-2018 I have previously used the DataReader in pandas with various data sources. Now Google and Yahoo are more or less deprecated, however I can't get data from any source. The error I get: NotImplementedError: data_source='morningstar' is not implementedHere it's 'morningstar', but I have tried others, ie. 'fred', 'google','quandl' etc. Anyone who has problems? According to the pandas documentation this should be up running and even with new sources compatible. oops mistake, shouldn't have been posted to homework. Can I delete or move the post, or do we need an admin here? RE: pandas DataReader error on all data sources - snippsat - Mar-06-2018 Upgrade pandas-datareader. G:\Anaconda3\Scripts λ conda install pandas-datareader .... The following packages will be UPDATED: openssl: 1.0.2n-vc14_0 conda-forge [vc14] --> 1.0.2n-h74b6da3_0 pandas-datareader: 0.5.0-py36_0 --> 0.6.0-py36_0 Downloading and Extracting Packages pandas-datareader 0.6.0: ############################################################################# | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done G:\Anaconda3 λ python -m ptpython >>> import pandas_datareader >>> pandas_datareader.__version__ '0.6.0' >>> import pandas_datareader.data as web >>> from datetime import datetime >>> start = datetime(2018, 1, 1) >>> end = datetime(2018, 4, 5) >>> f = web.DataReader('F', 'morningstar', start, end) >>> f.head() Close High Low Open Volume Symbol Date F 2018-01-01 12.49 12.49 12.49 12.49 0 2018-01-02 12.66 12.66 12.50 12.52 20773320 2018-01-03 12.76 12.80 12.67 12.68 29765638 2018-01-04 12.98 13.04 12.77 12.78 37478200 2018-01-05 13.20 13.22 13.04 13.06 46121873 >>> RE: pandas DataReader error on all data sources - glidecode - Mar-06-2018 Thanks a lot! I hadn't thought about checking my version of pandas-datareader and sure enough it was 0.2 or so. Installing with pip directly didn't upgrade it for me. Though uninstalling and reinstalling worked for me. If anyone else has trouble I just did: pip uninstall pandas-datareader pip install pandas-datareaderI have it up running again now. RE: pandas DataReader error on all data sources - snippsat - Mar-06-2018 (Mar-06-2018, 01:38 PM)glidecode Wrote: Installing with pip directly didn't upgrade it for meTake a look how conda work it's pandas own package manager,have a tutorial here. RE: pandas DataReader error on all data sources - BIJINI - Sep-25-2019 (Mar-06-2018, 01:01 AM)glidecode Wrote: I have previously used the DataReader in pandas with various data sources. Now Google and Yahoo are more or less deprecated, however I can't get data from any source. The error I get:NotImplementedError: data_source='morningstar' is not implementedHere it's 'morningstar', but I have tried others, ie. 'fred', 'google','quandl' etc. Anyone who has problems? According to the pandas documentation this should be up running and even with new sources compatible. RE: pandas DataReader error on all data sources - perfringo - Sep-25-2019 From What's New v.0.8.0 (22. September 2019) Quote:Removal of Google Finance and Morningstar, which were deprecated in 0.7.0 |