jcmachicao commited on
Commit
c168c2e
β€’
1 Parent(s): b8d06b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -118,10 +118,10 @@ else:
118
  writer.close()
119
  return processed_data
120
 
121
- df_xlsx = convierte_excel(asist_df)
122
- st.download_button(label='πŸ“© Descargar XLSX', data=df_xlsx,
123
- file_name = 'resultados_'+timestamp+'.xlsx')
124
-
125
  n_fig = 10
126
  fig, ax = plt.subplots(1, n_fig, figsize=(21, 2))
127
  for i in range(n_fig):
 
118
  writer.close()
119
  return processed_data
120
 
121
+ csv = dtdf2.to_csv(index=False)
122
+ st.download_button(label='πŸ“© Descargar CSV', data=csv,
123
+ file_name = 'df_'+timestamp+'.csv')
124
+
125
  n_fig = 10
126
  fig, ax = plt.subplots(1, n_fig, figsize=(21, 2))
127
  for i in range(n_fig):