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

Additional integer casting in category querist #57

Open
daffidwilde opened this issue Dec 19, 2023 · 0 comments
Open

Additional integer casting in category querist #57

daffidwilde opened this issue Dec 19, 2023 · 0 comments

Comments

@daffidwilde
Copy link
Contributor

daffidwilde commented Dec 19, 2023

Further to #48, we should cast the id column of dimension category queries.

For instance, this example gives us strings, which is inconsistent:

>>> from census21api import CensusAPI
>>> api = CensusAPI()
>>> categories = api.query_categories("HRP", "dimensions", "health_in_general")
>>> categories.dtypes
id                 object
label              object
dimension          object
population_type    object
dtype: object
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

1 participant