Repository: sdv-dev/RDT (language: python)

Issue:
Update upper range for Pandas
### Problem Description

We should support Pandas up to version `2.0`, but the current limit is at `1.1.5`.
https://github.com/sdv-dev/RDT/blob/039b21b2fbb8fea132fda9d5dd9783adcbc11d8c/setup.py#L20



Discussion / hints:

Fix patch:
diff --git a/conda/meta.yaml b/conda/meta.yaml
index 1e2ca5073..a969ddc98 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -19,13 +19,13 @@ requirements:
     - pytest-runner
     - python >=3.6,<3.10
     - numpy >=1.18.0,<2
-    - pandas >=1.1.3,<1.1.5
+    - pandas >=1.1.3,<2
     - scipy >=1.5.4,<2
     - psutil >=5.7,<6
   run:
     - python >=3.6,<3.10
     - numpy >=1.18.0,<2
-    - pandas >=1.1.3,<1.1.5
+    - pandas >=1.1.3,<2
     - scipy >=1.5.4,<2
     - psutil >=5.7,<6
 
diff --git a/setup.py b/setup.py
index 9b1e93db0..09c057703 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@
 install_requires = [
     "numpy>=1.18.0,<1.20.0;python_version<'3.7'",
     "numpy>=1.20.0,<2;python_version>='3.7'",
-    'pandas>=1.1.3,<1.1.5',
+    'pandas>=1.1.3,<2',
     'scipy>=1.5.4,<2',
     'psutil>=5.7,<6',
 ]


Test patch:
diff --git a/tests/unit/transformers/test_base.py b/tests/unit/transformers/test_base.py
index c0ff8f985..ed71571f4 100644
--- a/tests/unit/transformers/test_base.py
+++ b/tests/unit/transformers/test_base.py
@@ -584,7 +584,7 @@ def test__set_columns_data_2d_array(self):
             [7, 1],
             [8, 5],
             [9, 9]
-        ])
+        ], dtype=np.int64)
 
         # Run
         BaseTransformer._set_columns_data(data, columns_data, columns)