Apply to speak at TensorFlow World. Deadline April 23rd. Propose talk

tfdv.get_feature

tfdv.get_feature(
    schema,
    feature_name
)

Get a feature from the schema.

Args:

  • schema: A Schema protocol buffer.
  • feature_name: The name of the feature to obtain from the schema.

Returns:

A Feature protocol buffer.

Raises:

  • TypeError: If the input schema is not of the expected type.
  • ValueError: If the input feature is not found in the schema.