Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandas unable to import datareader deprecation error #110

Open
xanderdunn opened this issue Jun 19, 2019 · 1 comment
Open

Pandas unable to import datareader deprecation error #110

xanderdunn opened this issue Jun 19, 2019 · 1 comment

Comments

@xanderdunn
Copy link

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?

@TechNickAI
Copy link

The correct call is
from pandas.testing import assert_frame_equal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants