Challenge

Project 2 - EDA on Vehicle Insurance Customer Data

#5.
correlate = merge_df['age'].corr(merge_df['annualpremiuminRs'])
if correlate <-0.5:
print('Strong negative relationship')
if correlate > 0.5:
print('Strong positive relationship')
if -0.5 < correlate < 0.5:
print('No relationship')

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.