whitphx's picture
whitphx HF staff
Copy https://github.com/whitphx/stlite/tree/main/packages/sharing-editor/public/samples/011_component_gallery
dd0ef30
raw history blame
No virus
236 Bytes
import streamlit as st
import pandas as pd
import numpy as np
@st.experimental_memo
def load_data():
df = pd.DataFrame(np.random.randn(10, 5), columns=("col %d" % i for i in range(5)))
return df
df = load_data()
st.table(df)