Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import networkx as nx
- import matplotlib.pyplot as plt
- import numpy as np
- g=nx.read_edgelist('web-EPA.edges',create_using=nx.Graph(), nodetype= int)
- print(nx.info(g))
- Name:
- Type: Graph
- Number of nodes: 4271
- Number of edges: 8909
- Average degree: 4.1719
- type(g)
- networkx.classes.graph.Graph
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement