Spaces:
Sleeping
Sleeping
Jon Solow
commited on
Commit
·
5183355
1
Parent(s):
7c8c87d
Set index col to none for updated export
Browse files- src/pages/1_Keepers.py +1 -1
- src/pages/2_My_Keepers.py +1 -1
src/pages/1_Keepers.py
CHANGED
@@ -61,7 +61,7 @@ def add_opinionated_keeper_value(df: pd.DataFrame):
|
|
61 |
|
62 |
@st.cache_data(ttl=60 * 60 * 24)
|
63 |
def load_data():
|
64 |
-
data = pd.read_csv(os.path.join(os.path.dirname(__file__), KEEPER_DATA_URL), index_col=
|
65 |
# Hack to get position, replace with better position from yahoo api in future
|
66 |
data["position"] = (
|
67 |
data["eligible_positions"]
|
|
|
61 |
|
62 |
@st.cache_data(ttl=60 * 60 * 24)
|
63 |
def load_data():
|
64 |
+
data = pd.read_csv(os.path.join(os.path.dirname(__file__), KEEPER_DATA_URL), index_col=None)
|
65 |
# Hack to get position, replace with better position from yahoo api in future
|
66 |
data["position"] = (
|
67 |
data["eligible_positions"]
|
src/pages/2_My_Keepers.py
CHANGED
@@ -12,7 +12,7 @@ from login_component import is_token_in_session
|
|
12 |
|
13 |
@st.cache_data(ttl=60 * 60 * 24)
|
14 |
def load_data():
|
15 |
-
data = pd.read_csv(os.path.join(os.path.dirname(__file__), KEEPER_DATA_URL), index_col=
|
16 |
# Hack to get position, replace with better position from yahoo api in future
|
17 |
data["position"] = (
|
18 |
data["eligible_positions"]
|
|
|
12 |
|
13 |
@st.cache_data(ttl=60 * 60 * 24)
|
14 |
def load_data():
|
15 |
+
data = pd.read_csv(os.path.join(os.path.dirname(__file__), KEEPER_DATA_URL), index_col=None)
|
16 |
# Hack to get position, replace with better position from yahoo api in future
|
17 |
data["position"] = (
|
18 |
data["eligible_positions"]
|