I have several csv files that has same first row element in it. For example:
csv-1.csv:
Value,0
Currency,0
datetime,0
Receiver,0
Beneficiary,0
Flag,0
idx,0
csv-2.csv:
Value,0
Currency,1
datetime,0
Receiver,0
Beneficiary,0
Flag,0
idx,0
And with these files (more than 2 files by the way) I want to merge them and create something like that:
| left | csv-1 | csv-2 |
|---|---|---|
| Value | 0 | 0 |
| Currency | 0 | 1 |
| datetime | 0 | 0 |
How can I create this funtion in python?