class_docstr: DatasetBuilder for simPTE 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, {
                  "X1": row["X1"],
                  "X2": row["X2"],
                  "X3": row["X3"],
                  "X4": row["X4"],
                  "X5": row["X5"],
                  "X6": row["X6"],
                  "X7": row["X7"],
                  "X8": row["X8"],
                  "X9": row["X9"],
                  "X10": row["X10"],
                  "X11": row["X11"],
                  "X12": row["X12"],
                  "X13": row["X13"],
                  "X14": row["X14"],
                  "X15": row["X15"],
                  "X16": row["X16"],
                  "X17": row["X17"],
                  "X18": row["X18"],
                  "X19": row["X19"],
                  "X20": row["X20"],
                  "treat": row["treat"],
                  "y": row["y"],
              }
              index += 1
  
file_path: datasets/tensorflow_datasets/datasets/simpte/simpte_dataset_builder.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 Builder obj's underlying member method code with example usage: obj._generate_examples(path) without return types