fixing power cleaning
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)
|
||||
|
||||
Reference in New Issue
Block a user