Intersect function returns an unexpected result
Author: ElephmoonCreated Jan 31, 2023Updated Mar 27, 2026
In case when you have two collections
- first with one element
- second with many similar elements to the first Intersect will return repeated len(secondCollection) times firstCollection element. In my head Intersect should return firstCollection once in this case.

Source: samber/lo