1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
*****************************************
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_matrix
to_numpy_array
to_numpy_recarray
from_numpy_matrix
from_numpy_array
Scipy
-----
.. autosummary::
:toctree: generated/
to_scipy_sparse_matrix
from_scipy_sparse_matrix
Pandas
------
.. autosummary::
:toctree: generated/
to_pandas_adjacency
from_pandas_adjacency
to_pandas_edgelist
from_pandas_edgelist
|