lunarflu HF staff commited on
Commit
400a5ad
1 Parent(s): f04ec44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,6 +16,7 @@ import logging
16
  import time
17
  import pandas as pd
18
  from gspread_dataframe import get_as_dataframe, set_with_dataframe
 
19
 
20
 
21
  import gradio_client
@@ -378,7 +379,7 @@ async def dataframe_test(ctx):
378
 
379
  df = get_as_dataframe(worksheet)
380
  print(df)
381
- set_with_dataframe(test_worksheet, df)
382
 
383
 
384
 
 
16
  import time
17
  import pandas as pd
18
  from gspread_dataframe import get_as_dataframe, set_with_dataframe
19
+ from gspread_formatting.dataframe import format_with_dataframe
20
 
21
 
22
  import gradio_client
 
379
 
380
  df = get_as_dataframe(worksheet)
381
  print(df)
382
+ set_with_dataframe(test_worksheet, df, format='N0')
383
 
384
 
385