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,253
  • 2
  • 28
  • 47
Mati Malik
  • 95
  • 1
  • 13

0 Answers0