momepy.
network_false_nodes
Check topology of street network and eliminate nodes of degree 2 by joining affected edges.
GeoDataFrame containg edge representation of street network.