pipeline/util.py
def yield_csv_records(csv_file):
    """Iterate over csv records, returning each as a list of strings."""
    f = csv_file if isinstance(csv_file, file) else open(csv_file)
    reader = csv.reader(f)
    reader.next()
    for record in reader:
        yield record
    f.close()
Iterate over csv records, returning each as a list of strings.
Iterate over csv records, returning each as a list of strings.
Iterate over csv records returning each as a list of strings .
def yield_csv_records(csv_file):
    f = csv_file if isinstance(csv_file, file) else open(csv_file)
    reader = csv.reader(f)
    reader.next()
    for record in reader:
        yield record
    f.close()
def yield_csv_records ( csv_file ) : f = csv_file if isinstance ( csv_file , file ) else open ( csv_file ) reader = csv . reader ( f ) reader . next ( ) for record in reader : yield record f . close ( )
Iterate over csv records, returning each as a list of strings.
Iterate over csv records returning each as a list of strings .
"""Iterate over csv records, returning each as a list of strings."""
csv_file