diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2020-07-18 16:12:53 -0700 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2020-07-21 10:34:16 -0700 |
commit | 3c76a2de66cf78d91767b448a242f473d16230f5 (patch) | |
tree | 9f28498e92fb9213eb1b3a83c93061a083446b2e /networkx/convert_matrix.py | |
parent | 4e1b6d64f02ff51df19aa71580a789e884587430 (diff) | |
download | networkx-3c76a2de66cf78d91767b448a242f473d16230f5.tar.gz |
MAINT: rm to/from_numpy_matrix internally
Refactors algorithms that had used to_numpy_matrix in their
implementation to use to_numpy_array instead.
Diffstat (limited to 'networkx/convert_matrix.py')
-rw-r--r-- | networkx/convert_matrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/convert_matrix.py b/networkx/convert_matrix.py index e2e717a5..180fac40 100644 --- a/networkx/convert_matrix.py +++ b/networkx/convert_matrix.py @@ -206,7 +206,7 @@ def from_pandas_adjacency(df, create_using=None): raise nx.NetworkXError("Columns must match Indices.", msg) from e A = df.values - G = from_numpy_matrix(A, create_using=create_using) + G = from_numpy_array(A, create_using=create_using) nx.relabel.relabel_nodes(G, dict(enumerate(df.columns)), copy=False) return G |