xgi
xgi copied to clipboard
stat name as argument to compute stat?
It could be useful to compute a stat by using its name as a string argument, like H.nodes.stat("degree").
I think we cannot do that right now (@leotrs ?).
This would allow the user to define a list of stats they want to compute stats = ["degree", "centrality", ...]
and compute them by iterating over the values.