Spaces:
Running
Running
Jon Solow
commited on
Commit
·
61106ef
1
Parent(s):
97b8a8c
Fix read_csv for selected keepers
Browse files
src/pages/2_Selected_Keepers.py
CHANGED
@@ -10,7 +10,7 @@ from queries.supabase_db.client import get_all_selected_keepers
|
|
10 |
|
11 |
@st.cache_data(ttl=60 * 60 * 24)
|
12 |
def load_data():
|
13 |
-
data = pd.read_csv(os.path.join(os.path.dirname(__file__), KEEPER_DATA_URL), index_col=
|
14 |
# Hack to get position, replace with better position from yahoo api in future
|
15 |
data["position"] = (
|
16 |
data["eligible_positions"]
|
|
|
10 |
|
11 |
@st.cache_data(ttl=60 * 60 * 24)
|
12 |
def load_data():
|
13 |
+
data = pd.read_csv(os.path.join(os.path.dirname(__file__), KEEPER_DATA_URL), index_col=None)
|
14 |
# Hack to get position, replace with better position from yahoo api in future
|
15 |
data["position"] = (
|
16 |
data["eligible_positions"]
|