From 266bcc12d437e0182ddb992471a8d83d10c835c7 Mon Sep 17 00:00:00 2001
From: Russell Jarvis <russelljarvis@protonmail.com>
Date: Fri, 10 Dec 2021 13:34:08 +1100
Subject: [PATCH] update

---
 app.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app.py b/app.py
index 4c28f6b..5b6d842 100644
--- a/app.py
+++ b/app.py
@@ -90,7 +90,9 @@ rd_df=dontcleankeepdirty(rd_df)
 def cleankeepdirty(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"] <55)]
+    rd_df = rd_df[(rd_df["Reading_Level"] <50)]
+    rd_df = rd_df[(rd_df["Reading_Level"] >10)]
+
     return rd_df
 
 rd_df["Origin"] = ["ReadabilityScienceDeclining" for i in rd_df["Origin"]]
@@ -529,7 +531,8 @@ def main():
                 st.markdown("# Abstracts:")
                 st.write(df_author)
             df_author_new = pd.concat([df_author, df_author_new])
-            df_author_new = df_author_new[(df_author_new["Reading_Level"] <55)]
+            df_author_new = df_author_new[(df_author_new["Reading_Level"] <50)]
+            df_author_new = df_author_new[(df_author_new["Reading_Level"] >10)]
 
             st.markdown("# Both:")
 
-- 
GitLab