Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -339,15 +339,17 @@ def server(input, output, session):
|
|
339 |
|
340 |
#top_d_score.columns = list_of_columns_name
|
341 |
|
342 |
-
cols = top_d_score.columns.tolist();
|
343 |
-
|
344 |
-
for i in list(input.ignore_id()):
|
345 |
-
cols.remove(i)
|
346 |
|
347 |
|
348 |
top_d_score['Deployment'] = "PP2"
|
349 |
top_d_score['Deployment'][0:5] = "PP1"
|
350 |
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
# df_style_bang = top_d_score.head(10).style.background_gradient(cmap=co, subset=['L'+str(n_1)+' PP%','L'+str(n_2)+' PP%','L'+str(n_3)+' PP%','Roster%']).hide_index().set_properties(**{'Height': '12px'},**{'text-align': 'center'}).set_table_styles([{
|
352 |
# 'selector': 'caption',
|
353 |
# 'props': [
|
|
|
339 |
|
340 |
#top_d_score.columns = list_of_columns_name
|
341 |
|
|
|
|
|
|
|
|
|
342 |
|
343 |
|
344 |
top_d_score['Deployment'] = "PP2"
|
345 |
top_d_score['Deployment'][0:5] = "PP1"
|
346 |
|
347 |
+
|
348 |
+
cols = top_d_score.columns.tolist();
|
349 |
+
|
350 |
+
for i in list(input.ignore_id()):
|
351 |
+
cols.remove(i)
|
352 |
+
|
353 |
# df_style_bang = top_d_score.head(10).style.background_gradient(cmap=co, subset=['L'+str(n_1)+' PP%','L'+str(n_2)+' PP%','L'+str(n_3)+' PP%','Roster%']).hide_index().set_properties(**{'Height': '12px'},**{'text-align': 'center'}).set_table_styles([{
|
354 |
# 'selector': 'caption',
|
355 |
# 'props': [
|