Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
296a57a
1
Parent(s):
06592a5
made correlation run 2024 specific
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ def seasonlong_build(data_sample):
|
|
180 |
@st.cache_data(show_spinner=False)
|
181 |
def run_fantasy_corr(data_sample):
|
182 |
cor_testing = data_sample
|
183 |
-
cor_testing = cor_testing[cor_testing['Season'] == '
|
184 |
date_list = cor_testing['Date'].unique().tolist()
|
185 |
player_list = cor_testing['Player'].unique().tolist()
|
186 |
corr_frame = pd.DataFrame()
|
@@ -197,7 +197,7 @@ def run_fantasy_corr(data_sample):
|
|
197 |
@st.cache_data(show_spinner=False)
|
198 |
def run_min_corr(data_sample):
|
199 |
cor_testing = data_sample
|
200 |
-
cor_testing = cor_testing[cor_testing['Season'] == '
|
201 |
date_list = cor_testing['Date'].unique().tolist()
|
202 |
player_list = cor_testing['Player'].unique().tolist()
|
203 |
corr_frame = pd.DataFrame()
|
|
|
180 |
@st.cache_data(show_spinner=False)
|
181 |
def run_fantasy_corr(data_sample):
|
182 |
cor_testing = data_sample
|
183 |
+
cor_testing = cor_testing[cor_testing['Season'] == '22024']
|
184 |
date_list = cor_testing['Date'].unique().tolist()
|
185 |
player_list = cor_testing['Player'].unique().tolist()
|
186 |
corr_frame = pd.DataFrame()
|
|
|
197 |
@st.cache_data(show_spinner=False)
|
198 |
def run_min_corr(data_sample):
|
199 |
cor_testing = data_sample
|
200 |
+
cor_testing = cor_testing[cor_testing['Season'] == '22024']
|
201 |
date_list = cor_testing['Date'].unique().tolist()
|
202 |
player_list = cor_testing['Player'].unique().tolist()
|
203 |
corr_frame = pd.DataFrame()
|