def __init__(self, header, contents):
self._header = header<EOL>self._contents = contents<EOL>self._csv_stream = None<EOL>
Initialize context manager.

Arguments:
    header (Iterable): Column headers.
    contents (Iterable): CSV contents - each item represents a line.