changxin commited on
Commit
a930236
1 Parent(s): 9fed53d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,8 +51,8 @@ def fx_datatable(code:str):
51
  exec(fun,namespace)
52
  return namespace['py_exe']
53
 
54
- def xz(a):
55
- x=pd.DataFrame([a])
56
  y=x.to_excel('statics/test.xlsx',index=False)
57
  return 'statics/test.xlsx'
58
 
 
51
  exec(fun,namespace)
52
  return namespace['py_exe']
53
 
54
+ def xz():
55
+ x=pd.DataFrame([{'濮撳悕':'鐣呭績','鎴愮哗':100},{'濮撳悕':'鍚规按','鎴愮哗':66}])
56
  y=x.to_excel('statics/test.xlsx',index=False)
57
  return 'statics/test.xlsx'
58