Spaces:
Sleeping
Sleeping
Download app.py from lewtun/wide-table: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/lewtun/wide-table/resolve/main/app.py
- Command line
-
hf download hf://spaces/lewtun/wide-table/app.py
-
curl -L -o app.py https://huggingface.co/spaces/lewtun/wide-table/resolve/main/app.py
281 Bytes
| import random | |
| import names | |
| import pandas as pd | |
| import streamlit as st | |
| st.set_page_config(layout="wide") | |
| st.title("This is a wide table") | |
| data = {names.get_full_name(): [random.random()] for _ in range(50)} | |
| df = pd.DataFrame(data) | |
| st.table(df.assign(hack="").set_index("hack")) | |