Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,10 @@ def process_excel(file):
|
|
34 |
os.makedirs(output_dir)
|
35 |
|
36 |
output_file = os.path.join(output_dir, "keyword_counts.xlsx")
|
37 |
-
|
|
|
|
|
|
|
38 |
|
39 |
return output_file
|
40 |
|
|
|
34 |
os.makedirs(output_dir)
|
35 |
|
36 |
output_file = os.path.join(output_dir, "keyword_counts.xlsx")
|
37 |
+
|
38 |
+
# ์์
ํ์ผ์ ๋ฐ์ดํฐ๋ฅผ A4, B4 ์
๋ถํฐ ์ฐ๊ธฐ
|
39 |
+
with pd.ExcelWriter(output_file, engine='openpyxl') as writer:
|
40 |
+
result_df.to_excel(writer, index=False, startrow=3) # startrow=3์ผ๋ก ์ค์ ํ์ฌ 4๋ฒ์งธ ํ(A4, B4)๋ถํฐ ์์
|
41 |
|
42 |
return output_file
|
43 |
|