Given this dataset on heart disease, write code to normalize the chol (cholesterol) column such that the distribution of the data remains the same, but the range is adjusted to be between 0 and 1.
There are built in functions that will normalize data for you, but try to avoid them in this question -- the goal here is to understand how the math underneath works....
New to InterviewQs? Sign up now.
By proceeding, you agree to our Terms and Conditions and Privacy Policy.
Loading editor...