momepy.mean_nodes

momepy.mean_nodes(G, attr)[source]

Calculates mean value of nodes attr for each edge.