bug fixes
This commit is contained in:
@@ -324,7 +324,6 @@ def clean_df_stats(datadf, workstrokesonly=True, ignorehr=True,
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
||||
# protect 0 spm values from being nulled
|
||||
try:
|
||||
datadf['spm'] = datadf['spm'] + 1.0
|
||||
@@ -386,6 +385,7 @@ def clean_df_stats(datadf, workstrokesonly=True, ignorehr=True,
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
||||
try:
|
||||
mask = datadf['pace'] / 1000. > 300.
|
||||
datadf.loc[mask, 'pace'] = np.nan
|
||||
@@ -1699,7 +1699,9 @@ def getsmallrowdata_db(columns, ids=[], doclean=True, workstrokesonly=True):
|
||||
if doclean:
|
||||
data = clean_df_stats(data, ignorehr=True,
|
||||
workstrokesonly=workstrokesonly)
|
||||
data.dropna(inplace=True,axis=0)
|
||||
data.dropna(axis=1,how='all',inplace=True)
|
||||
data.dropna(axis=0,how='any',inplace=True)
|
||||
|
||||
|
||||
return data
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
|
||||
<h2>Personal information collection</h2>
|
||||
<p>
|
||||
At rowsandall.com we take your privacy very seriously. IN order to provide access
|
||||
At rowsandall.com we take your privacy very seriously.
|
||||
In order to provide access
|
||||
to the service we must collect and store some personal information about you.
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user