nesticot commited on
Commit
7f24e2f
·
verified ·
1 Parent(s): a8740c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -280,7 +280,7 @@ def server(input, output, session):
280
  @session.download(filename="data.csv")
281
  def download_data():
282
  # Get the current dataset and save it to CSV
283
- return cached_data().to_csv('data.csv')
284
 
285
 
286
 
 
280
  @session.download(filename="data.csv")
281
  def download_data():
282
  # Get the current dataset and save it to CSV
283
+ return cached_data().write_csv('data.csv')
284
 
285
 
286