Skip to content

Support for geopandas >=1.0.0 #163

Open
@amillb

Description

@amillb

geopandas 1.0.0 removed the previously deprecated parameter op parameter in sjoin. Rather than op, predicate should now be used.

This means that from_county() in cenpy now throws an error. For example:

products.ACS(2017).from_county('Riverside, CA', level='tract', variables='B25035_001E')

TypeError: sjoin() got an unexpected keyword argument 'op'

I think this is simple to fix through replacing op= with predicate= in cenpy.products().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions