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

I am having problem with count() #75

Open
bachnou3i opened this issue Feb 14, 2025 · 0 comments
Open

I am having problem with count() #75

bachnou3i opened this issue Feb 14, 2025 · 0 comments

Comments

@bachnou3i
Copy link

Hi all, I am trying to experiment with the library

I want to know the results number of a query:

try:
    works = works.query('urban water management governance').count()

except Exception as e:
    print(f"Error occurred: {str(e)}")

I am getting this error:

Error occurred: list indices must be integers or slices, not str
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