class_docstr: Titanic dataset.
class_docstr_tok: ["Titanic","dataset","."]
code: def _info(self):
      supervised_features = _feature_dict()
      survived_feature, unused_func = supervised_features.pop(
          "survived"
      )
  
      if self.version >= "3.0.0":
          supervised_keys = (
              {key: key for key in supervised_features.keys()},
              "survived",
          )
          features = features = tfds.features.FeaturesDict(
              {
                  name: dtype
                  for name, (dtype, func) in _feature_dict().items()
              }
          )
      else:
          supervised_keys = ("features", "survived")
          features = tfds.features.FeaturesDict(
              {
                  "survived": survived_feature,
                  "features": {
                      name: dtype
                      for name, (
                          dtype,
                          func,
                      ) in supervised_features.items()
                  },
              }
          )
      return self.dataset_info_from_configs(
          features=features,
          supervised_keys=supervised_keys,
          homepage="https://www.openml.org/d/40945",
      )
  
file_path: datasets/tensorflow_datasets/datasets/titanic/titanic_dataset_builder.py
imports: import collections
  import csv
  from etils import epath
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the Builder obj's underlying member method code with example usage: obj._info() and returns: self