networkcommons.eval.get_metric_from_networks
- networkcommons.eval.get_metric_from_networks(networks, function, **kwargs)
Get the graph metrics of multiple networks.
- Parameters:
networks (Dict[str, nx.Graph]) – A dictionary of network names and their corresponding graphs.
function (function) – The function to get the graph metrics.
**kwargs – Additional keyword arguments to pass to the function.
- Returns:
The graph metrics of the networks.
- Return type:
DataFrame