diff --git a/kedro-datasets/kedro_datasets/databricks/managed_table_dataset.py b/kedro-datasets/kedro_datasets/databricks/managed_table_dataset.py index 0ba659f0a..ae193e68a 100644 --- a/kedro-datasets/kedro_datasets/databricks/managed_table_dataset.py +++ b/kedro-datasets/kedro_datasets/databricks/managed_table_dataset.py @@ -22,6 +22,7 @@ from kedro_datasets.spark.spark_dataset import _get_spark logger = logging.getLogger(__name__) +pd.DataFrame.iteritems = pd.DataFrame.items @dataclass(frozen=True) diff --git a/kedro-datasets/pyproject.toml b/kedro-datasets/pyproject.toml index 671d541ae..633af72ec 100644 --- a/kedro-datasets/pyproject.toml +++ b/kedro-datasets/pyproject.toml @@ -217,8 +217,7 @@ test = [ "opencv-python~=4.5.5.64", "openpyxl>=3.0.3, <4.0", "pandas-gbq>=0.12.0", - "pandas>=2.0; python_version < '3.11'", - "pandas>=2.0; python_version >= '3.11'", + "pandas>=2.0", "Pillow~=9.0", "plotly>=4.8.0, <6.0", "polars[xlsx2csv, deltalake]~=0.18.0",