bug fix
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user