flex chart work per stroke slider
This commit is contained in:
@@ -102,6 +102,11 @@ def clean_df_stats(datadf,workstrokesonly=True,ignorehr=True,
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
try:
|
||||
datadf['hr'] = datadf['hr']+10
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
datadf=datadf.clip(lower=0)
|
||||
datadf.replace(to_replace=0,value=np.nan,inplace=True)
|
||||
|
||||
@@ -116,6 +121,11 @@ def clean_df_stats(datadf,workstrokesonly=True,ignorehr=True,
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
try:
|
||||
datadf['hr'] = datadf['hr']-10
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
# clean data for useful ranges per column
|
||||
if not ignorehr:
|
||||
try:
|
||||
@@ -222,11 +232,11 @@ def clean_df_stats(datadf,workstrokesonly=True,ignorehr=True,
|
||||
pass
|
||||
|
||||
|
||||
try:
|
||||
mask = datadf['catch'] > -30.
|
||||
datadf.loc[mask,'catch'] = np.nan
|
||||
except KeyError:
|
||||
pass
|
||||
try:
|
||||
mask = datadf['catch'] > -30.
|
||||
datadf.loc[mask,'catch'] = np.nan
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
||||
workoutstateswork = [1,4,5,8,9,6,7]
|
||||
|
||||
Reference in New Issue
Block a user