Facing issue while fitting linear regression in smoker dataframe

Found input variables with inconsistent numbers of samples: [274, 1064]

This is coming as error

This is literally a fresh thread, please use search function (software method) or mouse scroll (hardware method).