code: def __loadindcomps(self):
          ''' import industry comps '''
          csv_path = os.path.join(os.path.dirname(__file__), self.stock_no_files)
          with open(csv_path) as csv_file:
              csv_data = csv.reader(csv_file)
              result = {}
              check_words = re.compile(r'^[\d]{2,}[\w]?')
              for i in csv_data:
                  if check_words.match(i[2]):
                      try:
                          result[i[2]].append(i[0].decode('utf-8'))
                      except (ValueError, KeyError):
                          try:
                              result[i[2]] = [i[0].decode('utf-8')]
                          except KeyError:
                              pass
              return resulf __loadindcomps(self):
          ''' import industry comps '''
          csv_path = os.path.join(os.path.dirname(__file__), self.stock_no_files)
          with open(csv_path) as csv_file:
              csv_data = csv.reader(csv_file)
              result = {}
              check_words = re.compile(r'^[\d]{2,}[\w]?')
              for i in csv_data:
                  if check_words.match(i[2]):
                      try:
                          result[i[2]].append(i[0].decode('utf-8'))
                      except (ValueError, KeyError):
                          try:
                              result[i[2]] = [i[0].decode('utf-8')]
                          except KeyError:
                              pass
              return result
docs: import industry comps