Question: What's missing from the following script to successfully update the value of a global project variable avg _ age with the mean of the age

What's missing from the following script to successfully update the value of a global project variable avg_age with the mean of the age column in the heart_disease_imputed_values dataset? hd_dss_dataset = dataiku.Dataset("heart_disease_imputed_values") hd_data_frame = hd_dss_dataset.get_--------() vars_dict = project.get_variables() vars_dict['--------']['avg_age']= hd_data_frame.age.mean() project.set_variables(vars_dict) dataset / local dataframe / local dataframe / standard dataset / standard

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!