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

df=True not working #38

Open
pathikg opened this issue Nov 10, 2021 · 1 comment
Open

df=True not working #38

pathikg opened this issue Nov 10, 2021 · 1 comment

Comments

@pathikg
Copy link

pathikg commented Nov 10, 2021

I was trying to use openaq.OpenAQ.countries() method with df=True as a parameter so that I will get an output as a Pandas DataFrame but when I ran the code, I am just receiving output in the dictionary format,
Output :
image

Code :

import openaq
api = openaq.OpenAQ()
status, res = api.countries(df=True)
print(res)

OS : Windows 10
Python version : 3.7.8
openaq version = 1.1.0

@dhhagan
Copy link
Owner

dhhagan commented Nov 10, 2021

Thanks for pointing this out -> i'll try to replicate, patch, and fix soon.

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