I have a 2d numpy array, call it C:
A = np.array([1,10,2])
B = np.array([4,-2,5])
C = np.vstack([A,B])
and another 2d numpy array, call it G:
E = np.array([4,2,6])
F = np.array([0,5,30])
G = np.vstack([E,F])
I would like to return the 1d boolean that is true if a column in G matches a column in C, so in this case
output = [False,True,False]
The second element here is true because (2,5) is the second element in G and also matches the third element in C.
In reality, C and G are arrays with ~3million elements, but figuring this out should be good enough!