Statistics
| Branch: | Revision:

iof-tools / networkxMiCe / networkx-master / doc / reference / convert.rst @ 5cef0f13

History | View | Annotate | Download (983 Bytes)

1
*****************************************
2
Converting to and from other data formats
3
*****************************************
4
.. currentmodule:: networkx
5

    
6
To NetworkX Graph
7
-----------------
8
.. automodule:: networkx.convert
9

    
10
.. autosummary::
11
   :toctree: generated/
12

    
13
   to_networkx_graph
14

    
15

    
16
Dictionaries
17
------------
18
.. autosummary::
19
   :toctree: generated/
20

    
21
   to_dict_of_dicts
22
   from_dict_of_dicts
23

    
24
Lists
25
-----
26
.. autosummary::
27
   :toctree: generated/
28

    
29
   to_dict_of_lists
30
   from_dict_of_lists
31
   to_edgelist
32
   from_edgelist
33

    
34
Numpy
35
-----
36
.. automodule:: networkx.convert_matrix
37
.. autosummary::
38
   :toctree: generated/
39

    
40
   to_numpy_matrix
41
   to_numpy_array
42
   to_numpy_recarray
43
   from_numpy_matrix
44
   from_numpy_array
45

    
46
Scipy
47
-----
48
.. autosummary::
49
   :toctree: generated/
50

    
51
   to_scipy_sparse_matrix
52
   from_scipy_sparse_matrix
53

    
54
Pandas
55
------
56
.. autosummary::
57
   :toctree: generated/
58

    
59
   to_pandas_adjacency
60
   from_pandas_adjacency
61
   to_pandas_edgelist
62
   from_pandas_edgelist