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
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)
Thanks a lot for your help