From 820df06a6b8b5976e5e54e319f4990273d1eb255 Mon Sep 17 00:00:00 2001 From: Russell Jarvis <russelljarvis@protonmail.com> Date: Fri, 10 Dec 2021 13:17:27 +1100 Subject: [PATCH] update all --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index b563072..9d607f6 100644 --- a/app.py +++ b/app.py @@ -88,10 +88,11 @@ rd_level = rd_df["Reading_Level"] max = np.max(rd_df["Reading_Level"]) -def dontcleankeepdirty(): +def dontcleankeepdirty(rd_df): # previously I deleted negative values, but keeping the nonesensical measurements illustrates our point. rd_df = rd_df.loc[sample(list(rd_df.index), 999)] rd_df = rd_df[(rd_df["Reading_Level"] >= 10)] + return rd_df def get_table_download_link_csv( -- GitLab