Установите панды
sudo pip3 install pandas
Nels
sudo pip3 install pandas
# Read Excel sheet with pandas and using Sqlite DB
# Setup code
engine = create_engine('sqlite://', echo=False)
df = pd.read_excel(file, sheet_name=sheetname)
df.to_sql("test", engine, if_exists="replace", index=False)
results = engine.execute("Select * from test")
final = pd.DataFrame(results, columns=df.columns)