Closed sarah-schroeder closed 6 years ago
0.16.2 is quite old. Since then, the remote data access parts have been split into a separate package: https://pypi.org/project/pandas-datareader/
Could you try with a newer pandas and pandas-datareader? It could be fixed already.
If not, it could be reported on https://github.com/pydata/pandas-datareader/issues
out of scope for pandas proper
I ran into a minor issue reading data from the Fama-French data library in pandas 0.16.2 where for some files in the data library, the file's second edge is not detected. For example, the DataReader does not return the data from the file 'F-F_Research_Data_5_Factors_2x3_daily_TXT' on Ken French's website:
The above returns an empty dictionary (no error message is triggered). It seems this result is due to the DataReader failing to detect the last line of the file as an edge as the file does not end with a line of length 2. Hence, only the first edge of the file is detected.
Here is the relevant piece of code from within the "get_data_famafrench(name)" function:
Example showing only a single edge is detected:
Here is the output of
pd.show_versions()