   cidx  result    v
0     0       3  3.0
1     1       1  1.0