Need help on Exercise 8 of the graded lab

Hello Guys am stuck at Exercise 8: Modifying the Domain. How do i complete the modify_domain_of_features function?

Hello @Baruch ,

Welcome to the course!
You will need to use tfdv.set_domain() function and make sure the arguments schema, feature_path & domain are properly connected to the schema, features and target domain, which are coming from the arguments in the mother function modify_domain_of_features(features_list, schema, to_domain_name) :

 for feature in features_list:
       tfdv.set_domain(schema=... , feature_path=... , domain=...)

Hope that helps, in case you need more tips, pls let me know.
Good luck with the rest of the course!