start_time = time.time()
// create a GeoDataFrame of the nodes, name it, convert osmid to str
nodes = {node:data for node, data in G_proj.nodes(data=True)}
gdf_nodes = gpd.GeoDataFrame(nodes).T
gdf_nodes.crs = G_proj.graph["crs"]
gdf_nodes.gdf_name = "{}_nodes".format(G_proj.name)
gdf_nodes["osmid"] = gdf_nodes["osmid"].astype(np.int64).map(make_str)
// create new lat/lon columns just to save that data for later, and create a
// geometry column from x/y
gdf_nodes["lon"] = gdf_nodes["x"]
After Change
// create a GeoDataFrame of the nodes, name it, convert osmid to str
nodes_data = [data for _, data in G_proj.nodes(data=True)]
gdf_nodes = gpd.GeoDataFrame(nodes_data, index=G_proj.nodes(data=False))
gdf_nodes.crs = G_proj.graph["crs"]
gdf_nodes.gdf_name = "{}_nodes".format(G_proj.name)