@not_implemented_for('directed')
def local_efficiency(G):
    # TODO This summation can be trivially parallelized.
    return sum(global_efficiency(G.subgraph(G[v])) for v in G) / len(G)
Returns the average local efficiency of the graph.
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/efficiency.py/local_efficiency