Could you please help to find the error in the assignment-2 of step 2

While executing this code below, i was getting an error.

https://jovian.ai/sraditya12345/02-insurance-linear-regression – notebook link

You were having this error because when you initialised the input_cols and categorical_cols, you created a list inside a list(a nested list), instead of just list.
So I made these changes and your code was working fine.(just removed some square bracket. xd)

1 Like

Thanks a lot for your help