changxin commited on
Commit
d2b1bb9
1 Parent(s): cac261f

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):
64
  DT=fread(dc,columns={'月份':dt.int64,'销量':dt.int64,'单价':dt.float64})
65
- D_table=DT[:,{'总数量':sum(f.数量),'销售额':sum(f.单价*f.数量)},by(f.小组)]
66
  return D_table.to_pandas()
67
 
68
  demo=gr.Blocks()
 
62
 
63
  def fx_dt(dc):
64
  DT=fread(dc,columns={'月份':dt.int64,'销量':dt.int64,'单价':dt.float64})
65
+ D_table=DT.names
66
  return D_table.to_pandas()
67
 
68
  demo=gr.Blocks()