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

NameError: name 'pandas' is not defined #8

Closed
junsulee75 opened this issue Aug 23, 2019 · 2 comments
Closed

NameError: name 'pandas' is not defined #8

junsulee75 opened this issue Aug 23, 2019 · 2 comments

Comments

@junsulee75
Copy link
Member

When running this notebook on my python 3.7 environment, I encountered the following error

---> 14 wine = pandas.read_sql(sql,hdbi) .. NameError: name 'pandas' is not defined

Changing the relevant lines like below, it worked fine.
#wine = pandas.read_sql(sql,hdbi) wine = pd.read_sql(sql,hdbi)

I guess that is because we declared in the start of code
import pandas as pd
Posting this just in case we need to change it.

@kdrodger
Copy link
Member

kdrodger commented Oct 5, 2019

Thanks for the feedback @junsulee75 . You're welcome to submit a PR to propose that change yourself, otherwise I'll try to get that corrected later today or tomorrow.

@junsulee75
Copy link
Member Author

Hello Kelly, Thank you for the change.

kdrodger added a commit that referenced this issue Oct 10, 2019
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