So kombinieren Sie 2 CSV-Dateien mit einem gemeinsamen Spaltenwert, aber beide Dateien haben eine unterschiedliche Zeilenanzahl

file1.csv contains 2 columns: c11;c12
file2.csv contains 2 columns: c21;c22
Common column: c11, c21

Beispiel:

f1.csv

a;text_a            
b;text_b            
f;text_f            
x;text_x

f2.csv

a;path_a
c;path_c
d;path_d
k;path_k
l;path_l
m:path_m

Ausgang f1 + f2:

a;text_a;path_a
b;text_b,''
c;'';path_c
d;'';path_d
f;text_f;''
k;'';path_k
l;'';path_l
m;'';path_m
x;text_x;''

Wie kann man es mit Python realisieren?

Antworten auf die Frage(2)

Ihre Antwort auf die Frage