vinhngba2704 commited on
Commit
4c37565
·
1 Parent(s): f5a492c

Fix bug missing ()

Browse files
Files changed (1) hide show
  1. modules/transformation.py +1 -1
modules/transformation.py CHANGED
@@ -59,7 +59,7 @@ def json_to_dms_excel(res, employee_code=""):
59
  df["Số lượng *"] = df["Số lượng *"].astype(int)
60
 
61
  # Create "End" row, first column is "End", other is blank like in the excel template
62
- end_row = pd.DataFrame([["End"] + [""] * df.shape[1] - 1], columns= df.columns)
63
 
64
  df = pd.concat([df, end_row], ignore_index= True)
65
 
 
59
  df["Số lượng *"] = df["Số lượng *"].astype(int)
60
 
61
  # Create "End" row, first column is "End", other is blank like in the excel template
62
+ end_row = pd.DataFrame([["End"] + [""] * (df.shape[1] - 1)], columns= df.columns)
63
 
64
  df = pd.concat([df, end_row], ignore_index= True)
65