added data cleaning to cum flex
This commit is contained in:
@@ -168,6 +168,13 @@ def clean_df_stats(datadf,workstrokesonly=True,ignorehr=True,
|
||||
pass
|
||||
|
||||
|
||||
try:
|
||||
mask = datadf['wash'] < 1
|
||||
datadf.loc[mask,'wash'] = np.nan
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
||||
if not ignoreadvanced:
|
||||
try:
|
||||
mask = datadf['rhythm'] < 5
|
||||
|
||||
Reference in New Issue
Block a user