diff options
-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 |