Tive a dificuldade de passar por esse passo, ele me da uma mensagem de erro!
notas.query("filmeId==1")
KeyError Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/pandas/core/computation/scope.py in resolve(self, key, is_local) 180 if self.has_resolvers: --> 181 return self.resolvers[key] 182
22 frames KeyError: 'filmeId'
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last) KeyError: 'filmeId'
During handling of the above exception, another exception occurred:
UndefinedVariableError Traceback (most recent call last) /usr/local/lib/python3.6/dist-packages/pandas/core/computation/scope.py in resolve(self, key, is_local) 192 return self.temps[key] 193 except KeyError: --> 194 raise compu.ops.UndefinedVariableError(key, is_local) 195 196 def swapkey(self, old_key, new_key, new_value=None):
UndefinedVariableError: name 'filmeId' is not defined