Roberta2024 commited on
Commit
c9e6955
·
verified ·
1 Parent(s): 1b45462

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ if st.button("開始搜索"):
126
  combined_data = pd.concat([momo_df, pchome_data], ignore_index=True)
127
 
128
  # Add a button to download the combined data as CSV
129
- csv = combined_data.to_csv(index=False).encode('utf-8')
130
  st.download_button(
131
  label="下載CSV檔案",
132
  data=csv,
 
126
  combined_data = pd.concat([momo_df, pchome_data], ignore_index=True)
127
 
128
  # Add a button to download the combined data as CSV
129
+ csv = combined_data.to_csv(index=False).encode('utf-8-sig')
130
  st.download_button(
131
  label="下載CSV檔案",
132
  data=csv,