Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stat name as argument to compute stat? #483

Open
maximelucas opened this issue Oct 26, 2023 · 0 comments
Open

stat name as argument to compute stat? #483

maximelucas opened this issue Oct 26, 2023 · 0 comments
Labels
new feature New feature or request

Comments

@maximelucas
Copy link
Collaborator

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.

@maximelucas maximelucas added the new feature New feature or request label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant