python-eodhistoricaldata icon indicating copy to clipboard operation
python-eodhistoricaldata copied to clipboard

remove warning: by specifying engine='python'.

Open mw66 opened this issue 4 years ago • 2 comments

/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,

mw66 avatar Aug 07 '21 17:08 mw66

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

markgahagan1 avatar Mar 04 '23 17:03 markgahagan1

+1

Sau1707 avatar Jun 15 '24 11:06 Sau1707