added initial code #1

This commit is contained in:
2021-04-21 16:22:11 +02:00
parent f0690e1785
commit fe225e67ea
8 changed files with 1405 additions and 0 deletions

9
de/convert_to_csv_de.py Normal file
View File

@@ -0,0 +1,9 @@
import pandas as pd
import os
# Convert data to csv
for dirname, _, filenames in os.walk('input'):
for filename in filenames:
read_file = pd.read_excel (os.path.join(dirname, filename))
read_file.to_csv (os.path.join('csv', filename.split(".", 1)[0] + ".csv"), index = None, header=True)