Distinct
Pydoc |
Produces a collection containing distinct elements of the input collection.
Examples
In the following example, we create a pipeline with two PCollection
s of produce.
We use Distinct
to get rid of duplicate elements, which outputs a PCollection
of all the unique elements.
Related transforms
- Count counts the number of elements within each aggregation.
Pydoc |
Last updated on 2024/11/14
Have you found everything you were looking for?
Was it all useful and clear? Is there anything that you would like to change? Let us know!