Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
5c6dd71
1
Parent(s):
90cb3b5
added trend_fppm object
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def init_baselines():
|
|
49 |
trend_table.replace('', np.nan, inplace=True)
|
50 |
trend_table = trend_table[['PLAYER_NAME', 'Team', 'Position', 'FD_Position', 'L10 MIN', 'L10 Fantasy', 'L10 FPPM', 'L10 Ceiling', 'L10 FD_Fantasy',
|
51 |
'L10 FD_Ceiling', 'L5 MIN', 'L5 Fantasy', 'L5 FPPM', 'L5 Ceiling', 'L5 FD_Fantasy', 'L5 FD_Ceiling', 'L3 MIN', 'L3 Fantasy',
|
52 |
-
'L3 FPPM', 'L3 Ceiling', 'L3 FD_Fantasy', 'L3 FD_Ceiling', 'Trend Min', 'Trend Median', 'DK_Proj', 'Adj Median', 'Adj Ceiling',
|
53 |
'Trend FD_Median', 'FD_Proj', 'Adj FD_Median', 'Adj FD_Ceiling', 'DK_Salary', 'DK_Avg_Val', 'DK_Ceiling_Value',
|
54 |
'FD_Salary', 'FD_Avg_Val', 'FD_Ceiling_Value']]
|
55 |
trend_table['DK_Salary'] = trend_table['DK_Salary'].str.replace(',', '').astype(float)
|
|
|
49 |
trend_table.replace('', np.nan, inplace=True)
|
50 |
trend_table = trend_table[['PLAYER_NAME', 'Team', 'Position', 'FD_Position', 'L10 MIN', 'L10 Fantasy', 'L10 FPPM', 'L10 Ceiling', 'L10 FD_Fantasy',
|
51 |
'L10 FD_Ceiling', 'L5 MIN', 'L5 Fantasy', 'L5 FPPM', 'L5 Ceiling', 'L5 FD_Fantasy', 'L5 FD_Ceiling', 'L3 MIN', 'L3 Fantasy',
|
52 |
+
'L3 FPPM', 'L3 Ceiling', 'L3 FD_Fantasy', 'L3 FD_Ceiling', 'Trend Min', 'Trend Median', 'Trend FPPM', 'DK_Proj', 'Adj Median', 'Adj Ceiling',
|
53 |
'Trend FD_Median', 'FD_Proj', 'Adj FD_Median', 'Adj FD_Ceiling', 'DK_Salary', 'DK_Avg_Val', 'DK_Ceiling_Value',
|
54 |
'FD_Salary', 'FD_Avg_Val', 'FD_Ceiling_Value']]
|
55 |
trend_table['DK_Salary'] = trend_table['DK_Salary'].str.replace(',', '').astype(float)
|