From b4f0140e67c07a8f310b309ec7b73945a3f90e71 Mon Sep 17 00:00:00 2001 From: Russell Jarvis <russelljarvis@protonmail.com> Date: Sat, 25 Dec 2021 12:55:07 +1100 Subject: [PATCH] update all --- science_access/enter_author_name.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/science_access/enter_author_name.py b/science_access/enter_author_name.py index ee997a6..1912319 100644 --- a/science_access/enter_author_name.py +++ b/science_access/enter_author_name.py @@ -357,12 +357,12 @@ def make_clickable(link): # extract clickable text to display for your link text = link # .split('=')[1] return f'<a target="_blank" href="{link}">{text}</a>' -df_links["Web_Link"] = contents["Web_Link"] -df_links["Reading_Level"] = contents["Reading_Level"] -df_links.drop_duplicates(subset="Web_Link", inplace=True) -df_links["Web_Link"] = df_links["Web_Link"].apply(make_clickable) -df_links = df_links.to_html(escape=False) -st.write(df_links, unsafe_allow_html=True) + #df_links["Web_Link"] = contents["Web_Link"] + #df_links["Reading_Level"] = contents["Reading_Level"] + #df_links.drop_duplicates(subset="Web_Link", inplace=True) + #df_links["Web_Link"] = df_links["Web_Link"].apply(make_clickable) + #df_links = df_links.to_html(escape=False) + #st.write(df_links, unsafe_allow_html=True) def push_frame_to_screen(contents, readability_vector):# -> pd.DataFrame(): -- GitLab