Maps, GIS, Geospatial, Dataviz, Python.
df_shapes['shape_pt_lat'].astype(float) df_shapes['shape_pt_lon'] = df_shapes['shape_pt_lon'].astype(float) df_shapes['geometry'] = df_shapes.apply(lambda row: Point(row['shape_pt_lon'], row['shape_pt_lat']), axis=1) df_shapes = gpd.GeoDataFrame(df_shapes[['shape_id', 'geometry']]) df_shapes.crs =