I have two different DataFrame named df1 and df2, with same id column, but some ids have the same count and some ids have the different counts, so I want to get the data for same ids with the different count values, and both DataFrames have the different indexes
following is my df1
id valueA
0 255 1141
1 91 1130
2 347 830
3 30 757
4 68 736
5 159 715
6 32 713
7 110 683
8 225 638
9 257 616
my df2 is
id valueB
0 255 1231
1 91 1170
2 5247 954
3 347 870
4 30 757
5 68 736
6 159 734
7 32 713
8 110 683
9 225 644
10 257 616
11 917 585
12 211 575
13 25 530
how can I do that?