You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DuplicateKeys method can be used, for example, to find a distinct list of ID numbers that are used more than once, while DuplicateElements can be used to return a full list of rows where duplicate ID numbers are used.
The "Elements" methods are dependent on ExceptAll or ExceptByAll being implemented. (see #124 )
The text was updated successfully, but these errors were encountered:
There are several variations on the theme of duplicate record detection that I find myself needing quite often when validating Excel files.
The first method, UniqueKeys just returns all keys (from a given key selector delegate) that only occur once in a collection.
Likewise, a DuplicateKeys method would be the same, just with "Where(g => g.Count() == 1)" replaced with "Where(g => g.Count() > 1)".
Building on these, are UniqueElements and DuplicateElements methods,
The DuplicateKeys method can be used, for example, to find a distinct list of ID numbers that are used more than once, while DuplicateElements can be used to return a full list of rows where duplicate ID numbers are used.
The "Elements" methods are dependent on ExceptAll or ExceptByAll being implemented. (see #124 )
The text was updated successfully, but these errors were encountered: