Private
Public Access
1
0

quiske changes

This commit is contained in:
Sander Roosendaal
2022-10-31 21:01:23 +01:00
parent 766cea9d73
commit de5152fcfc
2 changed files with 5 additions and 2 deletions

View File

@@ -4318,6 +4318,9 @@ def instroke_interactive_chart(df,metric, workout, spm_min, spm_max,
df_pos = (df+abs(df))/2.
df_min = -(-df+abs(-df))/2.
if df.empty:
return "", "No data in selection"
mean_vals = df.median().replace(0, np.nan)
q75 = df_pos.quantile(q=0.75).replace(0,np.nan)
q25 = df_pos.quantile(q=0.25).replace(0,np.nan)