Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -340,7 +340,7 @@ def server(input, output, session):
|
|
340 |
|
341 |
top_d_score = test[(test.Team==input.team_id())].sort_values(by=['L'+str(n_1)+' PP%'],ascending=False).reset_index(drop=True)
|
342 |
|
343 |
-
if input.x()
|
344 |
top_d_score = top_d_score.dropna(axis='columns')
|
345 |
|
346 |
top_d_score = top_d_score.head(min(len(top_d_score),top_n))
|
|
|
340 |
|
341 |
top_d_score = test[(test.Team==input.team_id())].sort_values(by=['L'+str(n_1)+' PP%'],ascending=False).reset_index(drop=True)
|
342 |
|
343 |
+
if input.x():
|
344 |
top_d_score = top_d_score.dropna(axis='columns')
|
345 |
|
346 |
top_d_score = top_d_score.head(min(len(top_d_score),top_n))
|