tentei fazer de duas forma para exibir as notas a primeira
primeira:
notas_do_toy_story = notas.query("filmesId==1")
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-49-1219a9ad5a7e> in <module>
----> 1 notas_do_toy_story = notas.query("filmesId==1")
NameError: name 'notas' is not defined
segunda:
notas_do_toy_story = filmes['notas'].query("filmesId==1")
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-51-df2cf6e4414f> in <module>
----> 1 notas_do_toy_story = filmes['notas'].query("filmesId==1")
~/.pyenv/versions/3.7.4/lib/python3.7/site-packages/pandas/core/generic.py in __getattr__(self, name)
5177 if self._info_axis._can_hold_identifiers_and_holds_name(name):
5178 return self[name]
-> 5179 return object.__getattribute__(self, name)
5180
5181 def __setattr__(self, name, value):
AttributeError: 'Series' object has no attribute 'query'