Merge tag 'v4.34' into develop
hotfixed bug
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user