Open nwlandry opened 1 month ago
Could you help me figure out where the tohist function is? I couldn't find it in the codebase.
Good call --- we haven't figured out to best document the stats interface (see #357), but here is the function. Thanks!
To add to to this, here's an example of how it's used:
import xgi
H = xgi.load_xgi_data("email-enron")
H.cleanup()
H.nodes.degree.ashist()
Which outputs the following pandas Dataframe:
It would be nice if we made it easier to directly plot the output of
tohist()
, because now, it is quite complicated.