Assignment 1 error help

While executing this line of the given code error is showing up. I can remove this error by removing .loc at the end but it is advised not to remove pre-written code as it might not be good for the evaluation. What should I do?

Code seems right… I have also used :
inputs_df[numeric_cols].describe().loc[[‘min’, ‘max’]]

have you transform and replace the numeric columns?

It’s sorted now. Looks like I had done some error on some of above cells.

1 Like