I have two files one contains
0 1
0 0.0 0.0
1 2.0 8.0
2 7.0 3.0
3 6.0 1.0
4 5.0 0.0
5 4.0 NaN
6 9.0 NaN
7 0.0 NaN
and another one contains:
0
0 A
1 B
2 C
3 D
4 E
5 F
6 G
7 H
8 I
9 J
I want to map the second file with two columns (0 and 1) of the first file.
Expected output is like this:
1_st_column 2nd_column
A A
C I
H D
G B
F A
E
J
A
I tried with merging but couldn't get it work. How can i solve this? Thank you!