Intersect - Function SummarySummary:Create a new value that is the intersection of the two arguments. Usage:intersect ser1 ser2 Arguments:ser1 - first set (must be: series bitset) ser2 - second set (must be: series bitset) Refinements:/case - Uses case-sensitive comparison. /skip - Treat the series as records of fixed size size - The size argument. (must be: integer) Description:Returns all elements within two blocks or series that exist in both.
To obtain a unique set (to remove duplicate values) you can use UNIQUE. Note that performing this function over very large data sets can be CPU intensive. Related:difference - Return the difference of two data sets.
| |||||
|