Tyler Burns commited on
Commit
8e8c7fd
1 Parent(s): 376af7a

formatting

Browse files
Files changed (2) hide show
  1. app.py +4 -1
  2. flycheck_app.py +4 -1
app.py CHANGED
@@ -81,9 +81,12 @@ pd.set_option('display.max_colwidth', -1)
81
  def make_clickable(url, text):
82
  return f'<a target="_blank" href="{url}">{text}</a>'
83
 
84
- dat['href'] = dat['href'].apply(make_clickable, args = ('Click',))
85
 
86
  st.write(dat.to_html(escape = False), unsafe_allow_html = True)
87
 
 
 
 
88
  # Place a table under the plot
89
  st.dataframe(dat)
 
81
  def make_clickable(url, text):
82
  return f'<a target="_blank" href="{url}">{text}</a>'
83
 
84
+ dat['href'] = dat['href'].apply(make_clickable, args = ('Click here',))
85
 
86
  st.write(dat.to_html(escape = False), unsafe_allow_html = True)
87
 
88
+ # remove columns umap1 and umap2 from dat
89
+ dat = dat.drop(columns=['umap1', 'umap2'])
90
+
91
  # Place a table under the plot
92
  st.dataframe(dat)
flycheck_app.py CHANGED
@@ -81,9 +81,12 @@ pd.set_option('display.max_colwidth', -1)
81
  def make_clickable(url, text):
82
  return f'<a target="_blank" href="{url}">{text}</a>'
83
 
84
- dat['href'] = dat['href'].apply(make_clickable, args = ('Click',))
85
 
86
  st.write(dat.to_html(escape = False), unsafe_allow_html = True)
87
 
 
 
 
88
  # Place a table under the plot
89
  st.dataframe(dat)
 
81
  def make_clickable(url, text):
82
  return f'<a target="_blank" href="{url}">{text}</a>'
83
 
84
+ dat['href'] = dat['href'].apply(make_clickable, args = ('Click here',))
85
 
86
  st.write(dat.to_html(escape = False), unsafe_allow_html = True)
87
 
88
+ # remove columns umap1 and umap2 from dat
89
+ dat = dat.drop(columns=['umap1', 'umap2'])
90
+
91
  # Place a table under the plot
92
  st.dataframe(dat)