From a323af3c8bfcae576ad1130490c477f04f5b23fb Mon Sep 17 00:00:00 2001 From: Andy Xu Date: Tue, 21 Nov 2023 10:23:30 -0800 Subject: [PATCH] Fix the 'DataFrame' object has no attribute 'map' when panda < 2.1.0 is used. (#1374) Fix #1366 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0b0ed1ec97..8e809e2a32 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ def read(path, encoding="utf-8"): minimal_requirements = [ "numpy>=1.19.5", - "pandas>=1.1.5", + "pandas>=2.1.0", # DataFrame.map is available after v2.1.0 "sqlalchemy>=2.0.0", "sqlalchemy-utils>=0.36.6", "lark>=1.0.0",