Merge branch 'release/v14.85'
This commit is contained in:
@@ -683,6 +683,12 @@ def clean_df_stats(datadf, workstrokesonly=True, ignorehr=True,
|
||||
except (KeyError,TypeError):
|
||||
pass
|
||||
|
||||
try:
|
||||
mask = datadf['power'] > 5000
|
||||
datadf.mask(mask,inplace=True)
|
||||
except (KeyError,TypeError):
|
||||
pass
|
||||
|
||||
try:
|
||||
mask = datadf['spm'] > 120
|
||||
datadf.mask(mask,inplace=True)
|
||||
|
||||
@@ -3430,6 +3430,7 @@ def workout_stats_view(request,id=0,message="",successmessage=""):
|
||||
|
||||
# prepare data frame
|
||||
datadf,row = dataprep.getrowdata_db(id=encoder.decode_hex(id))
|
||||
|
||||
|
||||
|
||||
datadf = dataprep.clean_df_stats(datadf,workstrokesonly=workstrokesonly,
|
||||
|
||||
Reference in New Issue
Block a user