collect
Creates a list of all non-null grouped values, preserving duplicates.
Description
The collect
function returns a list of all non-null values in xs
, including
duplicates.
xs: list
The values to collect.
Examples
Collect values into a list
See Also
distinct
, sum