Returns a function that parses a single CSV record (in the form of an array of strings in which each element represents a column) and turns it into either one resulting row or no row (if the the record is malformed).
Returns a function that parses a single CSV record (in the form of an array of strings in which each element represents a column) and turns it into either one resulting row or no row (if the the record is malformed).
The 2nd argument in the returned function represents the total number of malformed rows observed so far.