Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1K
Visualizações
What does In[num] mean in jupyter notebooks?

I know that In[*] means the kernel is running

enter image description here

But what does In[93] mean?

enter image description here

Does that mean the total number of seconds to execute the cell or is that the line number?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

It's effectively a line number.

In is an array of all of the inputs you have entered during a session, and Out is a dictionary of the results from the corresponding inputs. You can use these to reference previous inputs and results; for example:

 In[1]:  0x7b
Out[1]:  123

 In[2]:  0x1c8
Out[2]:  456

 In[3]:  Out[1] + Out[2]
Out[3]:  579

 In[4]:  In
Out[4]:  ['', '0x7b', '0x1c8', 'Out[1] + Out[2]', 'In']

 In[5]:  Out
Out[5]:  {1: 123,
          2: 456,
          3: 579,
          4: ['', '0x7b', '0x1c8', 'Out[1] + Out[2]', 'In', 'Out']}
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda