Section: Revising the Schema,

  • You can add a new value to the domain of a particular feature:
tfdv.get_feature(schema, 'feature_column_name').value.append('string')```

I think this should be

tfdv.get_domain(schema, 'feature_column_name').value.append('string')

as feature won’t have value attribute associated.

1 Like

Hi @pandey957
welcome to discourse.
I think you are perfectly right. I will open a new issue to fix this misalignment.
Thanks a lot

1 Like