I have a dataframe (df1) and list that look like this :
df1 :
Value
0 A
1 B
2 C
3 D
4 E
5 F
6 G
7 H
8 I
9 J
List : [9,4,6,2,5]
I want to make a new dataframe(df2) that use the list as the index and the value from df1 in that order, so it will be like this :
df2 :
Value
9 J
4 E
6 G
2 C
5 F
How can I do this?