class_docstr: Assigns column names to feature partitions.
class_docstr_tok: ["Assigns","column","names","to","feature","partitions","."]
docstr: Assigns a feature partition based on a sequence of bytes or strings.
docstr_tok: ["Assigns","a","feature","partition","based","on","a","sequence","of","bytes","or","strings","."]
code: def assign_sequence(self, *parts: Union[bytes, str]) -> int:
      """Assigns a feature partition based on a sequence of bytes or strings."""
      partition = 0
      for part in parts:
          partition += self.assign(part)
          partition = partition % self.num_partitions
      return partition
  
file_path: data-validation/tensorflow_data_validation/utils/feature_partition_util.py
imports: import collections
  from typing import Any, FrozenSet, Iterable, Mapping, Tuple, Union
  import apache_beam
  import farmhash
  import pyarrow
  from tensorflow_data_validation import types
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 3 for calling the ColumnHasher obj's underlying member method code with example usage: obj.assign_sequence() and returns: partition