Keys

Pydoc 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.

Pydoc Pydoc