I am new to ML and pandas.
I was going through a jupyter file of a linear regression program. There I saw
dataframe.head()
dataframe.describe()
dataframe.shape
Why does the first two have parentheses () and shape doesn't?
I try to run dataframe.shape() and it give error TypeError: 'tuple' object is not callable.
Here's a link to the documentation but it didn't help: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.shape.html
dataframe.shape looks like a function and functions should have ().
How to know when a function will not have a ()