I am trying to reproject data using GeoPandas' to_crs
method but it seems to be missing. When I type hasattr(gpd, 'to_crs')
I get FALSE. Also, when I type dir(geopandas)
in the command prompt it doesn't appear in the list of attributes and methods.
>>> dir(geopandas)
['GeoDataFrame', 'GeoSeries', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package
__', '__path__', '__spec__', '__version__', '_version', 'base', 'datasets', 'geodataframe', 'geopandas', 'geoseries', '
gpd', 'io', 'np', 'overlay', 'pd', 'plotting', 'points_from_xy', 'read_file', 'read_postgis', 'sjoin', 'tools']
I have reinstalled GeoPandas several times, to no avail.