Skip to content

I am having problem with count() #75

Description

@bachnou3i

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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