title: iterating over values() of dictionary
body: <p>I am trying to tokenize each value of dictionary by using for loop but i am getting an error: 'float' object is not iterable. 
  My code is:</p>
  
  <pre class="lang-py prettyprint-override"><code>for doc, answers in answers.items():
      for answer in answers:
          if doc not in tokenized_answers:
              tokenized_answers[doc] = [tokenize(answer, tokenizer)]
          else:
              tokenized_answers[doc].append(tokenize(answer, tokenizer))
  </code></pre>
  
  <p>It's showing error in line: for answer in answers</p>
  
  <p>how can i iterate through the values of dict.values()?</p>