Getting error in code

All intermediate steps should be transformers and implement fit and transform or be the string ‘passthrough’ ‘DataFrameSelector(attributes_names=[‘longitude’, ‘latitude’,
‘housing_median_age’, ‘total_rooms’,
‘total_bedrooms’, ‘population’,
‘households’, ‘median_income’])’ (type <class ‘main.DataFrameSelector’>) doesn’t

getting above error how to solve

Hi Soumyadeep,

Can you please share a screenshot of your code with the error?

Regards

please check I have sent the image

Hi Soumyadeep,

I think you should check the previous code cells and check if there are some error fields. Here are the reference code snippets’ screenshots.

1
2
3

See if that helps resolving the issue

Regards