python-eodhistoricaldata
python-eodhistoricaldata copied to clipboard
remove warning: by specifying engine='python'.
/lib/python3.9/site-packages/eod_historical_data/data.py:41: ParserWarning: Falling back to the 'python' engine because the 'c' engine does not support skipfooter; you can avoid this warning by specifying engine='python'.
df = pd.read_csv(StringIO(r.text), skipfooter=1,
Same issue here.
Needs following amendment in data.py line 50: if r.status_code == requests.codes.ok: df = pd.read_csv( StringIO(r.text), skipfooter=1, parse_dates=[0], index_col=0, engine='python', ) return df
+1