Join the SIG TFX-Addons community and help make TFX even better!


Get feature statistics from the dataset statistics.

stats A DatasetFeatureStatistics protocol buffer.
feature_path The path of the feature whose statistics to obtain from the dataset statistics.

A FeatureNameStatistics protocol buffer.

TypeError If the input statistics is not of the expected type.
ValueError If the input feature is not found in the dataset statistics.