segue o script e o erro:
import pandas as pd
notas = pd.read_csv("ratings.csv")
notas.head()
notas.shape
notas.columns = ["usuarioId", "filmeId", "nota", "momento"]
notas.head()
notas
pd.__version__
'1.4.4'
notas['nota']
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-41-e01e969f02bb> in <cell line: 1>()
----> 1 notas['nota']
TypeError: list indices must be integers or slices, not str