Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,14 +9,14 @@ import os
|
|
9 |
import pandas as pd
|
10 |
|
11 |
# Đường dẫn tới file Excel
|
12 |
-
excel_file_path = '/content/Data_LHU_2cot .xlsx'
|
13 |
|
14 |
# Đọc file Excel
|
15 |
-
df = pd.read_excel(excel_file_path)
|
16 |
|
17 |
# Lấy tên file Excel và thay đổi đuôi sang CSV
|
18 |
-
csv_file_name = os.path.splitext(os.path.basename(excel_file_path))[0] + '.csv'
|
19 |
-
csv_file_path = os.path.join(os.path.dirname(excel_file_path), csv_file_name)
|
20 |
# lấy file csv
|
21 |
csv_file_path='/Data_LHU_2cot .csv'
|
22 |
# Ghi dữ liệu ra file CSV
|
|
|
9 |
import pandas as pd
|
10 |
|
11 |
# Đường dẫn tới file Excel
|
12 |
+
#excel_file_path = '/content/Data_LHU_2cot .xlsx'
|
13 |
|
14 |
# Đọc file Excel
|
15 |
+
#df = pd.read_excel(excel_file_path)
|
16 |
|
17 |
# Lấy tên file Excel và thay đổi đuôi sang CSV
|
18 |
+
#csv_file_name = os.path.splitext(os.path.basename(excel_file_path))[0] + '.csv'
|
19 |
+
#csv_file_path = os.path.join(os.path.dirname(excel_file_path), csv_file_name)
|
20 |
# lấy file csv
|
21 |
csv_file_path='/Data_LHU_2cot .csv'
|
22 |
# Ghi dữ liệu ra file CSV
|