attaching workout to planned session
This commit is contained in:
@@ -1251,8 +1251,11 @@ def dataprep(rowdatadf,id=0,bands=True,barchart=True,otwpower=True,
|
||||
data.to_sql('strokedata',engine,if_exists='append',index=False)
|
||||
except:
|
||||
data.drop(columns=['rhythm'],inplace=True)
|
||||
data.to_sql('strokedata',engine,if_exists='append',index=False)
|
||||
|
||||
try:
|
||||
data.to_sql('strokedata',engine,if_exists='append',index=False)
|
||||
except:
|
||||
pass
|
||||
|
||||
conn.close()
|
||||
engine.dispose()
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user