0

I have these vectors:

a=np.array([-1.5,7.5,12]) 

b=np.array([-1.5,1,3,5.5,7.5,11])

I want to compare them with each other and get a third vector of those elements that are similar - in this case the wanted vector would be:

c=([-1.5,7.5]) 
gtlambert
  • 11,711
  • 2
  • 30
  • 48
Mati Malik
  • 135
  • 2
  • 14

0 Answers0