title: Conditionally extracting rows of CSV files?
body: <p>I have a CSV file that looks like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>Germany,1928,Food
  Iceland,1943,Oil
  France,1923,Plastics
  Russia,1901,Steal
  South Africa,1932,Silver
  Russia,1905,Gold
  Brazil,1901,Platinum
  </code></pre>
  
  <p>I want it to search through the first column and pull a row if it hits the word "Russia."</p>
  
  <p>This is what my code looks like currently:</p>
  
  <pre><code>import csv
  import sys
  
  with open('country.csv', 'rb') as csvfile:
      data = csv.reader(csvfile)
      datalist = []
      for row in data:
          if len (row) != 0:
              datalist = datalist + [row]
  csvfile.close()
  
  column_names = datalist[0]  # LIST OF COLUMNS
  </code></pre>
  
  <p>How would I go about pulling the whole row?</p>