Private
Public Access
1
0

through email now

This commit is contained in:
Sander Roosendaal
2018-06-28 14:26:08 +02:00
parent f3edead9b9
commit 6acb5d9f49
6 changed files with 62 additions and 37 deletions

View File

@@ -135,15 +135,6 @@ 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')
row = rrdata(csvfile=csvfilename+'.gz')
data = dataprep(row.df,id=workoutid,bands=False,debug=debug)
return data
# Creates C2 stroke data
def create_c2_stroke_data_db(