Skip to content

df=True not working #38

Description

@pathikg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions