Error in ridge part

In training the linear regression model i am getting an error after writing this part. Can anyone pls help me out?
This is the code:
model.fit(train_inputs[numeric_cols + encoded_cols], train_targets)

Error:ValueError: could not convert string to float: ‘MSZoning_C (all)’

Hey, make sure you have not missed the brackets after Ridge → Ridge().