title: display only the values from a list after quering mongodb
body: <p>I was wondering if it is possible for me to only have the values displayed from the results of query which are returned in a list.</p>
  
  <p>I am running the following:</p>
  
  <pre><code>a = ast.literal_eval(json.dumps(list(db.bastion.find( { },{ 'counter': 1, '_id': False } ))))
  </code></pre>
  
  <p>Which returns something similar to this:</p>
  
  <pre><code>[{'counter': 10447}, {'counter': 25375}, {'counter': 11963}, {'counter': 17297},
   {'counter': 5893}, {'counter': 19955}, {'counter': 5159}, {'counter': 3988},
   {'counter': 7638}, {'counter': 8250}, {'counter': 29514}, {'counter': 4940},
   {'counter': 12834}, {'counter': 31153}, {'counter': 8588}, {'counter': 17585},
   {'counter': 7099}, {'counter': 18580}, {'counter': 2575}, {'counter': 3696},
   {'counter': 5071}, {'counter': 4074}, {'counter': 15355}, {'counter': 16520},
   {'counter': 13850}, {'counter': 18639}, {'counter': 22640}, {'counter': 13962},
   {'counter': 14354}, {'counter': 10945}, {'counter': 10330}]
  </code></pre>
  
  <p>So what I would like is just the values and not the key name counter displayed so I can calculate the 95th percentile doing the following:</p>
  
  <pre><code>for i in a:
    print np.percentile(map(int,i),95)
  </code></pre>