bug fix
This commit is contained in:
@@ -1242,7 +1242,7 @@ def dataprep(rowdatadf,id=0,bands=True,barchart=True,otwpower=True,
|
||||
with engine.connect() as conn, conn.begin():
|
||||
try:
|
||||
data.to_sql('strokedata',engine,if_exists='append',index=False)
|
||||
except OperationalError:
|
||||
except:
|
||||
data.drop(columns=['rhythm'],inplace=True)
|
||||
data.to_sql('strokedata',engine,if_exists='append',index=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user