Compare commits

..

1 Commits

Author SHA1 Message Date
Mal
945e95080c Transformation of column contet started 2025-02-07 21:05:05 +01:00

View File

@ -24,6 +24,11 @@ columns = lines[0].split(';')
new_head = []
column_to_column = []
name_to_column = {}
for i,n in enumerate(lines[0]):
name_to_column[n] = i
for i,c in enumerate(columns_wanted):
if c.find('=') != -1:
old_name, new_name = c.split('=')
@ -42,7 +47,6 @@ for i,c in enumerate(columns_wanted):
print('Error: The column %s does not exist!' % (old_name))
sys.exit(1)
column_to_column.append(index_old)
new_lines = []