def load_transactions(input_file, **kwargs):
delimiter = kwargs.get('<STR_LIT>', '<STR_LIT:\t>')<EOL>for transaction in csv.reader(input_file, delimiter=delimiter):<EOL><INDENT>yield transaction if transaction else ['<STR_LIT>']<EOL><DEDENT>
Load transactions and returns a generator for transactions.

Arguments:
    input_file -- An input file.

Keyword arguments:
    delimiter -- The delimiter of the transaction.