class_docstr: Class to store examples to be run by HF or GPT3 models
class_docstr_tok: ["Class","to","store","examples","to","be","run","by","HF","or","GPT3","models"]
code: def numeric_from_df(cls, df: pd.DataFrame) -> Dataset:
      examples = []
      for _, row in df.iterrows():
          example = NumericExample(
              row["prompt"], row["true_answer"], row["anchor"]
          )
          examples.append(example)
      return Dataset(examples)
  
imports: from __future__ import annotations
  from abc import ABC
  import ast
  from dataclasses import dataclass
  from typing import Iterator
  from typing_extensions import Literal
  import pandas
label_desc: Use image node_id 5 for calling the Dataset obj's underlying member method code with example usage: obj.numeric_from_df(cls, df) and returns: Dataset