From 2b0c29d27e178f76008fe122cb47e2e519b24dd5 Mon Sep 17 00:00:00 2001 From: z30020733 Date: Thu, 5 Sep 2024 16:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3python3.11=E7=89=88=E6=9C=ACp?= =?UTF-8?q?andas=E7=89=88=E6=9C=AC=E4=BE=9D=E8=B5=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mindinsight/lineagemgr/model.py | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mindinsight/lineagemgr/model.py b/mindinsight/lineagemgr/model.py index cdacc4d2..d5141ef7 100644 --- a/mindinsight/lineagemgr/model.py +++ b/mindinsight/lineagemgr/model.py @@ -147,7 +147,7 @@ class LineageTable: def _remove_unsupported_columns(self): """Remove unsupported columns.""" columns_to_drop = [] - for name, data in self._df.iteritems(): + for name, data in self._df.items(): if not is_simple_numpy_number(data.dtype): columns_to_drop.append(name) diff --git a/requirements.txt b/requirements.txt index 034122e2..232d0d74 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ itsdangerous >= 1.1.0 Jinja2 >= 2.10.1 MarkupSafe >= 1.1.1 marshmallow >= 3.10.0 -numpy >= 1.17.0, <= 1.26.4 +numpy >= 1.20.0, <2.0.0 pillow >= 6.2.0 protobuf >= 3.13.0 , <= 3.20.1 psutil >= 5.7.0 @@ -13,7 +13,7 @@ pyyaml >= 5.3.1 scipy >= 1.5.2 scikit-learn >= 0.23.1 Werkzeug > 2.1.0 -pandas >= 1.0.4 , <= 1.3.3 +pandas >= 1.0.4 treelib >= 1.6.1 grpcio >= 1.39.0 XlsxWriter >= 1.3.2 \ No newline at end of file -- Gitee