Private
Public Access
1
0

Merge tag 'v4.34' into develop

hotfixed bug
This commit is contained in:
Sander Roosendaal
2017-10-22 11:58:14 +02:00

View File

@@ -182,9 +182,15 @@ 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)
# return from positive domain to negative
try:
datadf['catch'] = -datadf['catch']