code: def Shuffle(pcoll):
      """Shuffles a PCollection.  Collection should not contain duplicates."""
      return (
          pcoll
          | "PairWithHash" >> beam.Map(lambda x: (hash(x), x))
          | "GroupByHash" >> beam.GroupByKey()
          | "DropHash"
          >> beam.FlatMap(lambda hash_and_values: hash_and_values[1])
      )
  
file_path: transform/examples/sentiment_example.py
imports: import argparse
  import os
  import pprint
  import tempfile
  import apache_beam
  import tensorflow
  from tensorflow import estimator
  import tensorflow_transform
  import tensorflow_transform.beam
  from tfx_bsl.public import tfxio
label_desc: Use image node_id 1 for calling a global function with example usage: Shuffle(pcoll) and returns: unknown