bug fixes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user