Spaces:
Sleeping
Sleeping
Jon Solow
commited on
Commit
·
13fb024
1
Parent(s):
130c598
Remove caching for data loaded from duckdb
Browse files
src/pages/7_Snap_Counts.py
CHANGED
@@ -8,7 +8,6 @@ from queries.footballguys.constants import YEAR
|
|
8 |
from queries.nflverse.github_data import get_snap_counts, get_current_tables, SEASON
|
9 |
|
10 |
|
11 |
-
@st.cache_data(ttl=60 * 60 * 24)
|
12 |
def load_data():
|
13 |
data = get_snap_counts(YEAR)
|
14 |
data = data[data.fantasy_position]
|
|
|
8 |
from queries.nflverse.github_data import get_snap_counts, get_current_tables, SEASON
|
9 |
|
10 |
|
|
|
11 |
def load_data():
|
12 |
data = get_snap_counts(YEAR)
|
13 |
data = data[data.fantasy_position]
|
src/pages/8_FTN_Charting.py
CHANGED
@@ -8,7 +8,6 @@ from queries.footballguys.constants import YEAR
|
|
8 |
from queries.nflverse.github_data import get_ftn_charting, get_current_tables, SEASON
|
9 |
|
10 |
|
11 |
-
@st.cache_data(ttl=60 * 60 * 24)
|
12 |
def load_data():
|
13 |
data = get_ftn_charting(YEAR)
|
14 |
data_load_time_str = datetime.datetime.utcnow().strftime("%m/%d/%Y %I:%M %p")
|
|
|
8 |
from queries.nflverse.github_data import get_ftn_charting, get_current_tables, SEASON
|
9 |
|
10 |
|
|
|
11 |
def load_data():
|
12 |
data = get_ftn_charting(YEAR)
|
13 |
data_load_time_str = datetime.datetime.utcnow().strftime("%m/%d/%Y %I:%M %p")
|
src/pages/9_Team_Formations.py
CHANGED
@@ -8,7 +8,6 @@ from queries.footballguys.constants import YEAR
|
|
8 |
from queries.nflverse.github_data import get_pbp_participation, get_current_tables, SEASON
|
9 |
|
10 |
|
11 |
-
@st.cache_data(ttl=60 * 60 * 24)
|
12 |
def load_data():
|
13 |
data = get_pbp_participation(YEAR)
|
14 |
# data = data[data.fantasy_position]
|
@@ -35,6 +34,7 @@ def get_page():
|
|
35 |
"offense_formation",
|
36 |
]
|
37 |
group_options = [
|
|
|
38 |
"possession_team",
|
39 |
"offense_formation",
|
40 |
"offense_personnel",
|
|
|
8 |
from queries.nflverse.github_data import get_pbp_participation, get_current_tables, SEASON
|
9 |
|
10 |
|
|
|
11 |
def load_data():
|
12 |
data = get_pbp_participation(YEAR)
|
13 |
# data = data[data.fantasy_position]
|
|
|
34 |
"offense_formation",
|
35 |
]
|
36 |
group_options = [
|
37 |
+
"week",
|
38 |
"possession_team",
|
39 |
"offense_formation",
|
40 |
"offense_personnel",
|