Python+PostgreSQL:[Id]+行索引器错误:列表索引超出范围

2024-09-29 22:35:10 发布

您现在位置:Python中文网/ 问答频道 /正文

我刚开始使用python3.7(anaconda)+PostgreSQL。任务是将数据放入PostgreSQL数据库,但我一直收到这样的消息:

Traceback (most recent call last):
  File "/Users/gshn/PycharmProjects/StatsWithPandasRSQL/Pandas/load_data_to_postgres.py", line 37, in <module>
    [Id] + row
IndexError: list index out of range

我怎样才能修好它? 准则本身:

^{pr2}$

Tags: 数据数据库消息mostpostgresqlanacondacallusers

热门问题