DataFrame not callable

In the machine learning model in python skill
for the linear regression ‘Titanic Project’
Question 2

The hint is misleading. If the parenthesis is left there then it leads to a “Data Frame not callable” error


it should be

I figured it out but I am posting here to help others!