title: Why do I get 'TypeError: 'numpy.int64' object is not iterable' when trying to iterate over a list?
body: <p>I'm trying to compare 2 items in a list that work as the values in a dictionary, but it keeps getting converted to numpy.int64 and I don't understand why.</p>
  
  <p>I've tested for 'valores' type using only the first loop and the second one. In the first I get a a list, but in the second I get numpy.int64.</p>
  
  <pre><code>import pandas as pd 
  import pprint
  .
  .
  .
  questionario = {'a': [1, 2], 'b': [3, 4], 'c': [5, 6]}
  
  for variavel, valores in questionario.items():
    for q_passado, q_atual in valores:
      if q_passado and q_atual != 0:
        if q_atual / q_passado &gt; 0.5:
          print(variavel, q_passado, q_atual)
  </code></pre>
  
  <p>I expected the output to be something like 'a 1 2', etc.</p>