0

For example, I have two vectors in dolphindb, va = [1,2,3]; vb = [2,3,5]; How can I find the intersection of va and vb?

[2,3]

psui
  • 1
  • 3

1 Answers1

0

va = [1,2,3] vb = [2,3,5]

(set(va) & set(vb)).keys()

Davis Zhou
  • 353
  • 4
  • 6