class_docstr: DatasetBuilder for criteo dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, path):
      """Yields examples."""
      with path.open() as f:
          index = 0
          for row in csv.DictReader(f):
              # And yield (key, feature_dict)
              yield index, {
                  "f0": row["f0"],
                  "f1": row["f1"],
                  "f2": row["f2"],
                  "f3": row["f3"],
                  "f4": row["f4"],
                  "f5": row["f5"],
                  "f6": row["f6"],
                  "f7": row["f7"],
                  "f8": row["f8"],
                  "f9": row["f9"],
                  "f10": row["f10"],
                  "f11": row["f11"],
                  "treatment": row["treatment"],
                  "conversion": int(row["conversion"]),
                  "visit": int(row["visit"]),
                  "exposure": int(row["exposure"]),
              }
              index += 1
  
file_path: datasets/tensorflow_datasets/recommendation/criteo/criteo.py
imports: from __future__ import annotations
  import csv
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Criteo obj's underlying member method code with example usage: obj._generate_examples(path) without return types