Private
Public Access
1
0

fixed power time fitness chart

This commit is contained in:
Sander Roosendaal
2020-11-23 18:44:07 +01:00
parent f1f9f50167
commit 3b490ea51e
5 changed files with 29 additions and 10 deletions

View File

@@ -1037,7 +1037,7 @@ def fetchcp_new(rower,workouts):
if len(data)>1:
df = pd.concat(data,axis=0)
df = df = df[df['cp'] == df.groupby(['delta'])['cp'].transform('max')]
df = df[df['cp'] == df.groupby(['delta'])['cp'].transform('max')]
df = df.sort_values(['delta']).reset_index()