changxin commited on
Commit
04edcd6
β€’
1 Parent(s): a107207

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def dd_ocr(tk,sl,dt):
62
 
63
  def fx_dt(dc,x,y):
64
  DT=fread(dc,columns={'月份':dt.int64,'销量':dt.int64,'单价':dt.float64})
65
- D_table=DT[:,sum(f[y-1]),by(f[x-1])]
66
  return D_table.to_pandas()
67
 
68
  demo=gr.Blocks()
 
62
 
63
  def fx_dt(dc,x,y):
64
  DT=fread(dc,columns={'月份':dt.int64,'销量':dt.int64,'单价':dt.float64})
65
+ D_table=DT[:,sum(f[int(y-1)]),by(f[int(x-1)])]
66
  return D_table.to_pandas()
67
 
68
  demo=gr.Blocks()