original_docstring:  load requirements from a pip requirements file 
docstring: load requirements from a pip requirements file
docstring_tokens: load requirements from a pip requirements file
code: def parse_requirements(filename):
      """ load requirements from a pip requirements file """
      try:
          lineiter = (line.strip() for line in open(filename))
          temp = [line.replace('==','>=') for line in lineiter if line and not line.startswith("#")]
          return [k for k in temp if 'scikit-learn' not in k]
      except:
          return []
code_tokens: def parse_requirements ( filename ) : try : lineiter = ( line . strip ( ) for line in open ( filename ) ) temp = [ line . replace ( '==' , '>=' ) for line in lineiter if line and not line . startswith ( "#" ) ] return [ k for k in temp if 'scikit-learn' not in k ] except : return [ ]
short_docstring: load requirements from a pip requirements file
short_docstring_tokens: load requirements from a pip requirements file
comment: """ load requirements from a pip requirements file """