moving save routine to dataprepnodjango
This commit is contained in:
@@ -135,6 +135,15 @@ def rdata(file,rower=rrower()):
|
||||
|
||||
from utils import totaltime_sec_to_string
|
||||
|
||||
def create_strava_stroke_data_db(workoutid,df,csvfilename,debug=False):
|
||||
df.sort_values(by='TimeStamp (sec)',ascending=True)
|
||||
|
||||
res = df.to_csv(csvfilename+'.gz',index_label='index',compression='gzip')
|
||||
|
||||
|
||||
data = dataprep(df,id=workoutid,bands=False,debug=debug)
|
||||
|
||||
return data
|
||||
|
||||
# Creates C2 stroke data
|
||||
def create_c2_stroke_data_db(
|
||||
|
||||
Reference in New Issue
Block a user