Private
Public Access
1
0

added workstrokesonly fix flex chart datacleaning

This commit is contained in:
Sander Roosendaal
2017-03-08 07:22:10 +01:00
parent f654ef1c6d
commit 1b65d18de4
4 changed files with 7 additions and 3 deletions

View File

@@ -1198,7 +1198,8 @@ def interactive_flex_chart2(id=0,promember=0,
'power','hr','spm','driveenergy',
'time','pace','workoutstate']
rowdata = dataprep.getsmallrowdata_db(columns,ids=[id],doclean=True)
rowdata = dataprep.getsmallrowdata_db(columns,ids=[id],doclean=True,
workstrokesonly=workstrokesonly)
rowdata.dropna(axis=1,how='all',inplace=True)
rowdata.dropna(axis=0,how='any',inplace=True)