converter.files.csv

Module Contents

Classes

BufferedCsvReader

Provides the source as a csv file like object. This helps some data

class converter.files.csv.BufferedCsvReader(source)

Bases: io.TextIOBase

Provides the source as a csv file like object. This helps some data processors as they are happier reading files rather than working on iterables.

Parameters
  • source – The iterable to build the csv from

  • buffer – The current stored data

read(self, size=None)

Read at most n characters from stream.

Read from underlying buffer until we have n characters or we hit EOF. If n is negative or omitted, read until EOF.