class_docstr: AmazonUSReviews dataset.
class_docstr_tok: ["AmazonUSReviews","dataset","."]
docstr: Generate features given the directory path.
  
  Args:
    file_path: path where the tsv file is stored
  
  Yields:
    The features.
docstr_tok: ["Generate","features","given","the","directory","path",".","Args",":","file_path",":","path","where","the","tsv","file","is","stored","Yields",":","The","features","."]
code: def _generate_examples(self, file_path):
      """Generate features given the directory path.
  
      Args:
        file_path: path where the tsv file is stored
  
      Yields:
        The features.
      """
  
      with epath.Path(file_path).open() as tsvfile:
          # Need to disable quoting - as dataset contains invalid double quotes.
          reader = csv.DictReader(
              tsvfile, dialect="excel-tab", quoting=csv.QUOTE_NONE
          )
          for i, row in enumerate(reader):
              yield i, {
                  "data": row,
              }
  
file_path: datasets/tensorflow_datasets/datasets/amazon_us_reviews/amazon_us_reviews_dataset_builder.py
imports: import collections
  import csv
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj._generate_examples(file_path) without return types