Private
Public Access
1
0

bug fixes

This commit is contained in:
Sander Roosendaal
2020-10-12 18:42:43 +02:00
parent 60a68f5611
commit cdc6b57c97
3 changed files with 2 additions and 19 deletions

View File

@@ -1061,23 +1061,6 @@ def fetchcp_new(rower,workouts):
df = df.sort_values(['delta']).reset_index()
#dindex = df['id'].shift(1)-df['id']
#dpowerplus = df['cp'].shift(1)-df['cp']
#dpowermin = df['cp'].shift(-1)-df['cp']
#badrows = []
#badid = 0
#for index,row in df.iterrows():
# if dindex[index] != 0 and dpowermin[index] > 0:
# badrows.append(index)
# badid = row['id']
# elif row['id'] == badid:
# badrows.append(index)
# else:
# badid = 0
#df = df.drop(index = badrows)
return df['delta'],df['cp'],0