Hi,
I am getting the error while running, please help me resolve the issue.
Below is the link for my code.
Hi,
I am getting the error while running, please help me resolve the issue.
Below is the link for my code.
Take a closer look at the way you clean data in draw_heat_map()
. Notice what happens with the previously filtered values after you do the next filtering.
I have changed the filtering to the below code, still I am having error.
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))]
The other issue was kind of stumping. As it turns out problem lied in dependency.
I don’t know whether this is bug, or bug was fixed and now tests need to be updated. Nevertheless if you change in poetry.lock
version of the matplotlib
to 3.2.2
and re-run repl.it to update packages, error shouldn’t occur anymore.
Thank you , got it resolved.