Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2017-10-22 11:55:20 +02:00
parent b44034ac4e
commit d7592f3c12

View File

@@ -182,7 +182,11 @@ def clean_df_stats(datadf,workstrokesonly=True,ignorehr=True,
except KeyError:
pass
datadf=datadf.clip(lower=0)
try:
datadf=datadf.clip(lower=0)
except TypeError:
pass
datadf.replace(to_replace=0,value=np.nan,inplace=True)