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

BUG: ImportError: cannot import name 'EmptyDataError' from 'pandas.io.common' #37978

Closed
pisulski opened this issue Nov 20, 2020 · 1 comment
Closed
Labels
Error Reporting Incorrect or improved errors from pandas

Comments

@pisulski
Copy link

I upgraded pandas and python version
python 3.8.6
numpy 1.19.4
pandas 1.1.4
pip 20.2.4

When I try:

import pandas as pd from pandas.io.common import EmptyDataError

I have error:

ImportError: cannot import name 'EmptyDataError' from 'pandas.io.common' (/xxx/xxx/enviroments/py3_8_env/lib/python3.8/site-packages/pandas/io/common.py)

@pisulski pisulski added Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Nov 20, 2020
@jreback
Copy link
Contributor

jreback commented Nov 20, 2020

error moved to pandas.errors quite a while ago; you are referencing an internal module.

@jreback jreback closed this as completed Nov 20, 2020
@jreback jreback removed Bug Needs Triage Issue that has not been reviewed by a pandas team member labels Nov 20, 2020
@jreback jreback added this to the No action milestone Nov 20, 2020
@jreback jreback added the Error Reporting Incorrect or improved errors from pandas label Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

No branches or pull requests

2 participants