Medical Data Visualizer - confusing task

I don’t unsdertand when it says ‘Normalize data by making 0 always good and 1 always bad. If the value of ‘cholesterol’ or ‘gluc’ is 1, make the value 0. If the value is more than 1, make the value 1.’ … which data should be normalized ??? the ‘overweight’ column created before is already in 0 and 1 … should I create a new column ? It is not clear…
Can someone help me ? Thanks!

It looks like the assignment is to normalise the 2 columns mentioned (cholesterol and glucose). exactly how it’s written: changing all 1s into 0s and all numbers >1 into 1s.
you don’t have to create new columns for this part.

Is this ok for you?

Perfect, thanks for clarifying this for me : )

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.