class_docstr: DatasetBuilder for diamonds dataset.
class_docstr_tok: ["DatasetBuilder","for","diamonds","dataset","."]
docstr: Returns the dataset metadata.
docstr_tok: ["Returns","the","dataset","metadata","."]
code: def _info(self) -> tfds.core.DatasetInfo:
      """Returns the dataset metadata."""
      return tfds.core.DatasetInfo(
          builder=self,
          description=_DESCRIPTION,
          features=tfds.features.FeaturesDict(
              {
                  "features": {k: v for k, v in _features().items()},
                  "price": np.float32,
              }
          ),
          supervised_keys=("features", "price"),
          homepage="https://ggplot2.tidyverse.org/reference/diamonds.html",
          citation=_CITATION,
      )
  
file_path: datasets/tensorflow_datasets/structured/diamonds/diamonds.py
imports: from __future__ import annotations
  import collections
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the Diamonds obj's underlying member method code with example usage: obj._info() and returns: tfds