last changes

This commit is contained in:
Patrick
2024-01-19 08:07:54 +01:00
parent e11a2c5166
commit 289175ef58
2 changed files with 4 additions and 2 deletions

View File

@@ -22,3 +22,4 @@ if __name__ == "__main__":
# Spaltennamen prüfen und überflüssige Spalten löschen
# Abgleich starten -collisions
# TODO Testuser + Spezialfälle Raumaccounts etc. "Tafel" "Raum"
# TODO Fehlerhafte Sonderzeichen erkennen (oxport_schueler.csv - 171)

View File

@@ -50,7 +50,8 @@ def create_uuid():
def add_hl_tag(row):
return 'HL0707104-' + row['klasse']
klasse = str(row['klasse']).lstrip('0')
return 'HL0707104-' + klasse
def create_import_list(path, path_new, old_pairs, new_pairs, common_pairs):
@@ -102,7 +103,7 @@ def create_import_list(path, path_new, old_pairs, new_pairs, common_pairs):
# pd.reset_option('display.max_rows')
# pd.reset_option('display.max_columns')
out_path = '../GGS/outputSchueler.csv'
import_df.to_csv(out_path, index=False)
import_df.to_csv(out_path, sep=';', index=False)
print(len(import_df))
print('Schüler Import Liste erzeugt')
print('Testuser manuell nachtragen!!')