2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Python DataFrame TypeError: __init__() got multiple values for argument 'schema' 対策メモ

Last updated at Posted at 2023-02-13

DataFrame から DBを扱う際のエラー

TypeError: __init__() got multiple values 
for argument 'schema'
Execution failed on sql 'SELECT name FROM sqlite_master 
WHERE type='table' AND name=?;': Not all parameters were 
used in the SQL statement

こういうのをはじめエラーが多い

sqlalchemyの 2.x 系と Pandas の相性がよくないらしい

解決法

sqlalchemyのバージョンを下げる

# pip install sqlalchemy==1.4.46
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?