lewtun HF staff commited on
Commit
bc2e202
1 Parent(s): fdd61a2
Files changed (2) hide show
  1. app.py +13 -0
  2. requirements.txt +3 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import random
2
+
3
+ import names
4
+ import pandas as pd
5
+ import streamlit as st
6
+
7
+ st.set_page_config(layout="wide")
8
+ st.title("This is a wide table")
9
+
10
+ data = {names.get_full_name(): [random.random()] for _ in range(50)}
11
+
12
+ df = pd.DataFrame(data)
13
+ st.table(df.assign(hack="").set_index("hack"))
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ pandas
2
+ streamlit
3
+ names