Explorar el Código

add fill date

ming hace 3 años
padre
commit
f6c39e9699
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -115,4 +115,4 @@ def save_sheet(df,filename,tabname,startpos='A1'):
     gc = gspread.authorize(credentials)
     spread = Spread(filename,creds=credentials)
 
-    spread.df_to_sheet(df, index=False, sheet=tabname, start=startpos, replace=False)
+    spread.df_to_sheet(df, index=True, sheet=tabname, start=startpos, replace=False)