a=
[[43655, 1428, 0, 2554]
[44580, 1428, 0, 2555]
[44930, 1428, 0, 2556]
[47708, 1428, 0, 2557]]
b=
[[41641, 1428, 0, 2554]
[44075, 1428, 0, 2555]
[44901, 1428, 1, 2556]
[45377, 1428, 0, 2557]
[48056, 1428, 0, 2558]]
New b=
[[41641, 1428, 0, 2554]
[44075, 1428, 0, 2555]
[44901, 1428, 1, 2556]
[45377, 1428, 0, 2557]
I have two numpy array with unequal rows. For eg. Array a has 4 rows while array b has 5 rows.
Edit: No. of rows in array 'b' is greater than array 'a'. Every element of a[:,3] lies in b[:,3]. Is there any function that extract only the rows of array b whose b[:,3]=a[:,3]
bbased on what logic?