Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,10 @@ def init_baselines():
|
|
57 |
trend_table.iloc[:,4:] = trend_table.iloc[:,4:].apply(pd.to_numeric)
|
58 |
|
59 |
dk_minutes_table = trend_table[['PLAYER_NAME', 'Team', 'L10 MIN', 'L5 MIN', 'L3 MIN', 'Trend Min']]
|
|
|
60 |
|
61 |
fd_minutes_table = trend_table[['PLAYER_NAME', 'Team', 'L10 MIN', 'L5 MIN', 'L3 MIN', 'Trend Min']]
|
|
|
62 |
|
63 |
dk_medians_table = trend_table[['PLAYER_NAME', 'Team', 'L10 Fantasy', 'L5 Fantasy', 'L3 Fantasy', 'Trend Median']]
|
64 |
|
|
|
57 |
trend_table.iloc[:,4:] = trend_table.iloc[:,4:].apply(pd.to_numeric)
|
58 |
|
59 |
dk_minutes_table = trend_table[['PLAYER_NAME', 'Team', 'L10 MIN', 'L5 MIN', 'L3 MIN', 'Trend Min']]
|
60 |
+
dk_minutes_table.iloc[:,2:] = dk_minutes_table.iloc[:,2:].apply(pd.to_numeric)
|
61 |
|
62 |
fd_minutes_table = trend_table[['PLAYER_NAME', 'Team', 'L10 MIN', 'L5 MIN', 'L3 MIN', 'Trend Min']]
|
63 |
+
fd_minutes_table.iloc[:,2:] = fd_minutes_table.iloc[:,2:].apply(pd.to_numeric)
|
64 |
|
65 |
dk_medians_table = trend_table[['PLAYER_NAME', 'Team', 'L10 Fantasy', 'L5 Fantasy', 'L3 Fantasy', 'Trend Median']]
|
66 |
|