score=list(df.get(‘imdb_score’))
I am getting the error “‘Index’ object is not callable” for the above code.
'Index' object is not callable
Add these two lines in a single cell and than run it,
df = pd.read_csv(“movie_metadata.csv”)
score = list(df.get(‘imdb_score’))
print(score)
May be you made some unwanted changes, this should run fine.
Hope this cleared your doubt.
It is still showing the same error
Check if the file named 'movie_metadata.csv" exists, and path to the file is correct.