View a markdown version of this page

Amazon Redshift Python 连接器 - Amazon Redshift

2026 年 6 月 30 日之后,Amazon Redshift 不再支持使用 Python UDF。我们将分阶段开始执行。有关 Python 生命周期终止和迁移选项详情的更多信息,请参阅 2025 年 6 月 30 日发布的博客文章

Amazon Redshift Python 连接器

通过使用适用于 Python 的 Amazon Redshift 连接器,您可以将工作与适用于 Python 的 AWS SDK(Boto3)以及 Pandas 和 Numerical Python(NumPy)集成。有关 pandas 的更多信息,请参阅 pandas GitHub 存储库。有关 NumPy 的更多信息,请参阅 NumPy GitHub 存储库

Amazon Redshift Python 连接器提供了一个开源解决方案。您可以浏览源代码、请求增强功能、报告问题和提供文章。

要使用 Amazon Redshift Python 连接器,请确保使用 Python 3.6 或更高版本。有关更多信息,请参阅Amazon Redshift Python 驱动程序许可协议

Amazon Redshift Python 连接器提供以下内容:

Amazon Redshift Python 连接器实施 Python 数据库 API 规范 2.0。有关更多信息,请参阅 Python 网站上的 PEP 249 – Python 数据库 API 规范 v2.0