Keys
Pydoc |
Takes a collection of key-value pairs and returns the key of each element.
Example
In the following example, we create a pipeline with a PCollection
of key-value pairs.
Then, we apply Keys
to extract the keys and discard the values.
Related transforms
Pydoc |
Last updated on 2024/11/20
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!