print("Nota média do Toy Story %.2f" % notas_do_toy_story.mean())
TypeError Traceback (most recent call last)
<ipython-input-114-cea482becac6> in <module>()
----> 1 print("Nota média do Toy Story %.2f" % notas_do_toy_story.mean())
/usr/local/lib/python3.7/dist-packages/pandas/core/series.py in wrapper(self)
183 if len(self) == 1:
184 return converter(self.iloc[0])
--> 185 raise TypeError(f"cannot convert the series to {converter}")
186
187 wrapper.__name__ = f"__{converter.__name__}__"
TypeError: cannot convert the series to <class 'float'>