xinchen9 commited on
Commit
2bfcba4
·
verified ·
1 Parent(s): d34d343

[Update]fix bug

Browse files
Files changed (1) hide show
  1. dummydatagen.py +2 -2
dummydatagen.py CHANGED
@@ -156,8 +156,8 @@ def dummydf():
156
  # 'Tic-Tac-Toe': 0
157
  # }]
158
  df = pd.read_csv('./assets/uc_result.csv')
159
- len = len(df)
160
- for i in range(len):
161
  df.loc[i,"Method_string"]=df.loc[i, "Method"]
162
  df.loc[i,"Method"]=df.loc[i, "Method_string"]
163
  df.drop(columns=["Method_string"])
 
156
  # 'Tic-Tac-Toe': 0
157
  # }]
158
  df = pd.read_csv('./assets/uc_result.csv')
159
+ length = len(df)
160
+ for i in range(length):
161
  df.loc[i,"Method_string"]=df.loc[i, "Method"]
162
  df.loc[i,"Method"]=df.loc[i, "Method_string"]
163
  df.drop(columns=["Method_string"])