Private
Public Access
1
0

now working on linux with mariadb

This commit is contained in:
Sander Roosendaal
2019-08-05 22:05:31 +02:00
parent a17af76838
commit 3208c2d8a9
3 changed files with 14 additions and 6 deletions

View File

@@ -1121,6 +1121,9 @@ def fitnessmetric_chart(fitnessmetrics,user,workoutmode='rower',startdate=None,
except TypeError:
df = pd.DataFrame()
if df.empty:
return ["","no data"]
groups = df.groupby(by='date').max()
power4min = groups['power4min']