<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/networkx.git/networkx/convert.py, branch main</title>
<subtitle>github.com: networkx/networkx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/'/>
<entry>
<title>Use scipy.sparse array datastructure (#6037)</title>
<updated>2022-10-12T17:19:47+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2022-10-12T17:19:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=8a325d26aa7fdd3a72580c4720fa97f971bbefcb'/>
<id>8a325d26aa7fdd3a72580c4720fa97f971bbefcb</id>
<content type='text'>
* Use scipy.sparse array datastructure

* Add reminder to rm wrapper when scipy adds creation fns.

* Rm mention of np matrix from code comment.

* Update networkx/algorithms/bipartite/matrix.py

Co-authored-by: Stefan van der Walt &lt;sjvdwalt@gmail.com&gt;

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;
Co-authored-by: Stefan van der Walt &lt;sjvdwalt@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use scipy.sparse array datastructure

* Add reminder to rm wrapper when scipy adds creation fns.

* Rm mention of np matrix from code comment.

* Update networkx/algorithms/bipartite/matrix.py

Co-authored-by: Stefan van der Walt &lt;sjvdwalt@gmail.com&gt;

Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;
Co-authored-by: Stefan van der Walt &lt;sjvdwalt@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Update tests in base class and simple rename in convert.py (#5848)</title>
<updated>2022-07-15T18:04:45+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2022-07-15T18:04:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=15614a4e2736752b0200d3a770d83f2be2d130b9'/>
<id>15614a4e2736752b0200d3a770d83f2be2d130b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove to/from_scipy_sparse_matrix (#5779)</title>
<updated>2022-07-01T18:36:50+00:00</updated>
<author>
<name>Matt Schwennesen</name>
<email>mjschwenne@gmail.com</email>
</author>
<published>2022-07-01T18:36:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=d8e76beada5e3a962ef95c4b549746e493bb662f'/>
<id>d8e76beada5e3a962ef95c4b549746e493bb662f</id>
<content type='text'>
* remove to/from_scipy_sparse_matrix

* skip geospatial example build

Co-authored-by: Mridul Seth &lt;seth.mridul@gmail.com&gt;
Co-authored-by: Mridul Seth &lt;mail@mriduls.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* remove to/from_scipy_sparse_matrix

* skip geospatial example build

Co-authored-by: Mridul Seth &lt;seth.mridul@gmail.com&gt;
Co-authored-by: Mridul Seth &lt;mail@mriduls.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title> Use isort with pre-commit to enforce import guidelines (#5659)</title>
<updated>2022-06-02T15:54:09+00:00</updated>
<author>
<name>Mridul Seth</name>
<email>seth.mridul@gmail.com</email>
</author>
<published>2022-06-02T15:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=5c0b11afb4c0882a070d522ef3fa41482ba935d3'/>
<id>5c0b11afb4c0882a070d522ef3fa41482ba935d3</id>
<content type='text'>
* Add isort to pre-commit

* Run isort on all python files (except __init__.py ones)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add isort to pre-commit

* Run isort on all python files (except __init__.py ones)</pre>
</div>
</content>
</entry>
<entry>
<title>More numpy.matrix cleanups for NX2.7 (#5319)</title>
<updated>2022-02-12T18:23:50+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2022-02-12T18:23:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=930121ffb89d01077b9888abbd5e810a7e5e16a4'/>
<id>930121ffb89d01077b9888abbd5e810a7e5e16a4</id>
<content type='text'>
* Fix return type in docstring of internal function.

* Rm explicit mention of numpy matrix from class docstrings.

* Fix return type of floyd_warshall_numpy docstring.

* Remove mention of numpy matrix from code comment.

* Fix simrank similarity internal docstring.

* Rm explicit mention of matrix in favor of 2D array.

* Update to_networkx_graph array exception wording.

* Remove extraneous mention of numpy matrix.

* Don't print array in exception message.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix return type in docstring of internal function.

* Rm explicit mention of numpy matrix from class docstrings.

* Fix return type of floyd_warshall_numpy docstring.

* Remove mention of numpy matrix from code comment.

* Fix simrank similarity internal docstring.

* Rm explicit mention of matrix in favor of 2D array.

* Update to_networkx_graph array exception wording.

* Remove extraneous mention of numpy matrix.

* Don't print array in exception message.</pre>
</div>
</content>
</entry>
<entry>
<title>A few `np.matrix` cleanups (#5218)</title>
<updated>2021-12-09T18:24:32+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2021-12-09T18:24:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=c928bd59522f78ab5b25cad89ec98a400f58739a'/>
<id>c928bd59522f78ab5b25cad89ec98a400f58739a</id>
<content type='text'>
* Use toarray instead of todense in test suite.

toarray is less ambiguous and forward-compatible.

* Rm isinstance target and use from_numpy_array.

np.matrix is a sublcass of ndarray so there is no need to
explicitly include it in the isinstance tuple.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use toarray instead of todense in test suite.

toarray is less ambiguous and forward-compatible.

* Rm isinstance target and use from_numpy_array.

np.matrix is a sublcass of ndarray so there is no need to
explicitly include it in the isinstance tuple.</pre>
</div>
</content>
</entry>
<entry>
<title>Change exception varname e to err (#5130)</title>
<updated>2021-10-15T19:01:14+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2021-10-15T19:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=e611fa1e439f6bd0c35fd8db2ca1ced56070a915'/>
<id>e611fa1e439f6bd0c35fd8db2ca1ced56070a915</id>
<content type='text'>
A more descriptive variable name for exceptions. This reduces local var naming conflicts when
\`e\` is used e.g. to represent edges as a loop variable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A more descriptive variable name for exceptions. This reduces local var naming conflicts when
\`e\` is used e.g. to represent edges as a loop variable.</pre>
</div>
</content>
</entry>
<entry>
<title>add special processing of `multigraph_input` upon graph init (#4823)</title>
<updated>2021-05-27T20:54:53+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2021-05-27T20:54:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=fc032996017983aca9b1910b9a51947d74def0f9'/>
<id>fc032996017983aca9b1910b9a51947d74def0f9</id>
<content type='text'>
* add special processing of `multigraph_input` upon graph init

Fixes: #4720

Adding a keyword argument `multigraph_input=True`
to a graph construction call should treat any incoming input data for
the graph as a dict-of-dict-of-dict multigraph data structure.

Previously the multigraph_input argument would be added to the graph
attribute dict and ignored when processing the input data.

* Change default and add tests

* make default try mgi=True, and if fails try mgi=False

* copy parameter docstring to main class</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add special processing of `multigraph_input` upon graph init

Fixes: #4720

Adding a keyword argument `multigraph_input=True`
to a graph construction call should treat any incoming input data for
the graph as a dict-of-dict-of-dict multigraph data structure.

Previously the multigraph_input argument would be added to the graph
attribute dict and ignored when processing the input data.

* Change default and add tests

* make default try mgi=True, and if fails try mgi=False

* copy parameter docstring to main class</pre>
</div>
</content>
</entry>
<entry>
<title>Use matrix multiplication operator (#4390)</title>
<updated>2020-11-26T02:22:49+00:00</updated>
<author>
<name>Jarrod Millman</name>
<email>jarrod.millman@gmail.com</email>
</author>
<published>2020-11-26T02:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=37763df1db7238cd02af773d1897945dc2a970b5'/>
<id>37763df1db7238cd02af773d1897945dc2a970b5</id>
<content type='text'>
Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Ross Barnowski &lt;rossbar@berkeley.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Improve test coverage of convert module (#4306)</title>
<updated>2020-11-24T23:22:42+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2020-11-24T23:22:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=001b37b55d03479303674a1a5d25256986a6f330'/>
<id>001b37b55d03479303674a1a5d25256986a6f330</id>
<content type='text'>
* TST: Improve coverage of conversion module.

* WIP: Remove attr checks for graph/nodes?

* TST: remove to_dict_of_dict tests.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* TST: Improve coverage of conversion module.

* WIP: Remove attr checks for graph/nodes?

* TST: remove to_dict_of_dict tests.</pre>
</div>
</content>
</entry>
</feed>
