get_correlation:
(CityData)-> float
The parameter for this function is a CityData dictionary. This function returns the correlation between age standardised hypertension rates and low income rates across all neighbourhoods.
To complete this function, you will need to use the correlation function in the module statistics. Refer to the documentation for the function to determine what arguments to pass to the correlation function, and how to use its returned value. You can find the documentation online hereLinks to an external site. or by using help
(statistics.correlation).
Remember that to call help on a function from another module, you first need to import the module.
You will need to use the provided function get_age_ standardized_ht_
rate as a helper to get the age- standardised rate for each neighbourhood.