empyrical icon indicating copy to clipboard operation
empyrical copied to clipboard

Pandas unable to import datareader deprecation error

Open xanderdunn opened this issue 6 years ago • 1 comments

Python 3.5.2 pandas 0.24.2 empyrical 0.5.0

When I call empyrical I always see this error:

/usr/local/lib/python3.5/dist-packages/empyrical/utils.py:32: UserWarning: Unable to import pandas_datareader. Suppressing import error and continuing. All data reading functionality will raise errors; but has been deprecated and will be removed in a later version.
  warnings.warn(msg)

It looks like empyrical's usage of pandas needs to be updated?

xanderdunn avatar Jun 19 '19 18:06 xanderdunn

The correct call is from pandas.testing import assert_frame_equal

TechNickAI avatar Jul 01 '20 06:07 TechNickAI