scipy.sparse.csgraph
(N x N) adjacency matrix
from scipy.sparse import csr_matrix