dustalov commited on
Commit
314e5bd
1 Parent(s): d512d2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -210,8 +210,8 @@ def handler(file: IO[bytes], algorithm: str, filtered: bool, truncated: bool, se
210
  df_wins = df_wins.reindex(labels=index, columns=index, fill_value=0, copy=False)
211
 
212
  df_ties = pd.pivot_table(df[df['winner'] == 'tie'],
213
- index='left', columns='right', values='winner', aggfunc='count',
214
- fill_value=0)
215
  df_ties = df_ties.reindex(labels=index, columns=index, fill_value=0, copy=False)
216
 
217
  wins = df_wins.to_numpy(dtype=np.int64)
 
210
  df_wins = df_wins.reindex(labels=index, columns=index, fill_value=0, copy=False)
211
 
212
  df_ties = pd.pivot_table(df[df['winner'] == 'tie'],
213
+ index='left', columns='right', values='winner',
214
+ aggfunc='count', fill_value=0)
215
  df_ties = df_ties.reindex(labels=index, columns=index, fill_value=0, copy=False)
216
 
217
  wins = df_wins.to_numpy(dtype=np.int64)