Private
Public Access
1
0

added data cleaning to cum flex

This commit is contained in:
Sander Roosendaal
2017-05-03 16:32:19 +02:00
parent e2b8ab4664
commit 72e8303203
2 changed files with 10 additions and 3 deletions

View File

@@ -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