Union

WMA link


Union[a, b, ...]

gives the union of the given set or sets. The resulting list will be sorted and each element will only occur once.

A union of two lists:

A union of two associations:

A union of one item is the item. Note that the list is sorted:

As usual, Union removes duplicate values:

Union using a custom test which compares using the last coordinate of each element list:

Tally