title: Searching for keywords in CSV file columns
body: <p>I need to search a column in a CSV file for a specific keyword and if it is found – get a data from the whole row.
  The <a href="https://www.dropbox.com/s/s7qdbe3hk4fsiun/plan.csv?dl=0" rel="nofollow noreferrer">file</a> I'm working with is my school's schedule, so it's pretty big.</p>
  
  <pre><code>import csv
  
  with open('plan.csv', 'rt', encoding='windows 1250') as fileinput:
  
      # In the code below I first create a list of groups, skipping
      # duplicates, so that user can later select a group to show it's 
      # details.
  
      reader = csv.reader(fileinput, delimiter=';')
  
      groups = []
      #filling up the list with groups
      for row in reader:
          if row[12] in groups:
              continue
          elif row[12] is '':
              continue
          else:
              groups.append(row[12])
  
      # Just to make sure there's something in 'groups'
      print(groups[1:])
  
      # Then I'm asking a user to select the group.
      # user_choice = input('Group?')
  
      # setting up user_choice to make things simpler for testing
      user_choice = '3I4'
  
      # The last part is searching groups column (column index 12) for a 
      # specific group and if found – print whole row and continue 
      # the search.
      for row in reader:
          if row[12] is user_choice:
              print(row)
              continue
          else:
              print('not found')
  </code></pre>
  
  <p>After running the last part of code I receive no console output at all, neither the rows for group, nor "not found".</p>