我试图通过添加for循环从excel文件获取数据到列表。我将范围设置为(0,data.shape)以包含完整的数据集,但结果是“字符串索引超出范围”。我试图将其更改为data.shape1,结果是"ValueError: Length of value (14)不匹配索引长度(1000)“。当将它更改为data.shape2时,我得到了“超出范围的元组索引”。我试图将范围
SQLite3::SQLException: index unique_schema_migrations already exists: CREATE UNIQUE INDEX "unique_schema_migrations" ON "ts_schema_migrations" ("version")create_table "ts_schema_migrations", :idts_schema_migrations&
因此,我试图将一个SQLite3数据库推送到Heroku,我曾经认为这是可能的,但是阅读和意味着它可能不是(下面的内容不起作用)。LOCAL_SOURCE_DATABASE is not a valid database name
当Heroku将语法从pg:push转换为db:push时,这种情况是否发生了改变?考虑到不可能将任何数据从SQLite3迁移到本地postgres,然后推送到Heroku?