diff options
author | Jarrod Millman <jarrod.millman@gmail.com> | 2022-02-19 09:35:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 09:35:48 -0800 |
commit | 2f4370d24d1866d11f3e1521d5030a6142059b79 (patch) | |
tree | 97c64a3b3d8a217b55d81211993069c22fa833a8 | |
parent | 2db9682a176e2ae4192253aac1687f5dc001ea9a (diff) | |
download | networkx-2f4370d24d1866d11f3e1521d5030a6142059b79.tar.gz |
Fix pandas warning (#5346)
-rw-r--r-- | networkx/tests/test_convert_pandas.py | 2 | ||||
-rw-r--r-- | requirements/default.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networkx/tests/test_convert_pandas.py b/networkx/tests/test_convert_pandas.py index 93be091f..705c4234 100644 --- a/networkx/tests/test_convert_pandas.py +++ b/networkx/tests/test_convert_pandas.py @@ -18,7 +18,7 @@ class TestConvertPandas: self.df = df mdf = pd.DataFrame([[4, 16, "A", "D"]], columns=["weight", "cost", 0, "b"]) - self.mdf = df.append(mdf) + self.mdf = pd.concat([df, mdf]) def test_exceptions(self): G = pd.DataFrame(["a"]) # adj diff --git a/requirements/default.txt b/requirements/default.txt index 49e14b95..153e8b57 100644 --- a/requirements/default.txt +++ b/requirements/default.txt @@ -1,4 +1,4 @@ numpy>=1.19 scipy>=1.8 matplotlib>=3.4 -pandas>=1.2 +pandas>=1.3 |