Question: I have two csv files: one as align a b c x 1 1 1 y 2 2 2 z 3 3 3 u 4
I have two csv files:
one as
| align | a | b | c |
| x | 1 | 1 | 1 |
| y | 2 | 2 | 2 |
| z | 3 | 3 | 3 |
| u | 4 | 4 | 4 |
| v | 5 | 5 | 5 |
one as
| align | a | b | c |
| x | 1 | 1 | 1 |
| y | 2 | 2 | 2 |
How can I marge them using pands to be like this:
| align | a | b | c |
| x | 2 | 2 | 2 |
| y | 4 | 4 | 4 |
| z | 3 | 3 | 3 |
| u | 4 | 4 | 4 |
| v | 5 | 5 | 5 |
Thanks!! Please do with Python.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
