Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro!?

Bom dia, Estou com um erro pertinente, segue mensagem abaixo quando coloco:

imovel_residencial = dados[selecao]

C:\Users\alber\Anaconda3\lib\site-packages\ipykernel_launcher.py:1: UserWarning: Boolean Series key will be reindexed to match DataFrame index. """Entry point for launching an IPython kernel.

ndexingError Traceback (most recent call last) in ----> 1 imovel_residencial = dados[selecao]

~\Anaconda3\lib\site-packages\pandas\core\frame.py in getitem(self, key) 2916 # Do we have a (boolean) 1d indexer? 2917 if com.is_bool_indexer(key): -> 2918 return self.getitembool_array(key) 2919 2920 # We are left with two options: a single key, and a collection of keys,

O que devo fazer, reiniciar o programa?

1 resposta
solução!

Resolvi o problema, eu tinha colocado anteriormente .head(10) creio que por conta disso não deu certo, retirei o mesmo, e agora funcionou perfeitamente.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software