***************************************** Converting to and from other data formats ***************************************** .. currentmodule:: networkx To NetworkX Graph ----------------- .. automodule:: networkx.convert .. autosummary:: :toctree: generated/ to_networkx_graph Dictionaries ------------ .. autosummary:: :toctree: generated/ to_dict_of_dicts from_dict_of_dicts Lists ----- .. autosummary:: :toctree: generated/ to_dict_of_lists from_dict_of_lists to_edgelist from_edgelist Numpy ----- .. automodule:: networkx.convert_matrix .. autosummary:: :toctree: generated/ to_numpy_array from_numpy_array Scipy ----- .. autosummary:: :toctree: generated/ to_scipy_sparse_array from_scipy_sparse_array Pandas ------ .. autosummary:: :toctree: generated/ to_pandas_adjacency from_pandas_adjacency to_pandas_edgelist from_pandas_edgelist