File size: 439 Bytes
7a18dc2
 
 
 
f47916d
 
 
 
 
7a18dc2
 
 
f47916d
 
7a18dc2
 
 
 
 
f47916d
 
7a18dc2
 
f47916d
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import streamlit as st
import pandas as pd


LEAGUE_NAME = "LOFG"
DATA_URL = "../tests/mocks/2023_keepers.csv"


st.title(f"{LEAGUE_NAME} Keeper Options")


@st.cache_data
def load_data():
    data = pd.read_csv(DATA_URL, index_col=0)
    data.columns = data.columns.str.lower()
    return data


data_load_state = st.text("Loading data...")
data = load_data()
data_load_state.text("Data loaded")


st.subheader("Raw data")
st.write(data)