вот мой код
Код: Выделить всё
%load_ext sql
import csv, sqlite3
con = sqlite3.connect("socioeconomic.db")
cur = con.cursor()
но когда я подключаюсь к sqlite
Код: Выделить всё
%sql sqlite:///socioeconomic.db
Код: Выделить всё
MetaData.__init__() got an unexpected keyword argument 'bind'
Connection info needed in SQLAlchemy format, example:
postgresql://username:password@hostname/dbname
or an existing connection: dict_keys([])
Я пытался использовать другой ноутбук, но не Windows, и тот же код работает, но в Mac нет
Подробнее здесь: https://stackoverflow.com/questions/759 ... ing-sqlite