Sep-21-2020, 09:46 AM
(Sep-19-2020, 12:16 AM)scidam Wrote: I suspect that you want to do something like thisL[np.in1d(L+1, L)]
. But I cann't understand why you have11
in the result array stated as correct. NeitherL
, norL+1
could include such number.
I tried that but I get
IndexError: boolean index did not match indexed array along dimension 0; dimension is 1 but corresponding boolean dimension is 24