Tell us what’s happening:
[EDIT: Issue fixed]
Hi , I completed the catplot successfully, but I’m struggling to get my heat map working. It seems that my numbers are off, and I’m not sure why.
Here’s a snippet of what I’m doing:
df_heat = df[(df[‘ap_lo’] <= df[‘ap_hi’])
& (df[‘height’] >= df[‘height’].quantile(0.025))
& (df[‘height’] < df[‘height’].quantile(0.975))
& (df[‘weight’] >= df[‘weight’].quantile(0.025))
& (df[‘weight’] < df[‘weight’].quantile(0.975))]
corr = df_heat.corr()
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Challenge: Data Analysis with Python Projects - Medical Data Visualizer
Link to the challenge: