CsvFile#

class pyopenms.CsvFile#

Bases: object

Cython implementation of _CsvFile

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: CsvFile) None

Methods

__init__

Overload:

addRow(self, list)

Add a row to the buffer

clear(self)

Clears the buffer

getRow(self, row, list)

Writes all items from a row to list

load(self, filename, is_, ie_, first_n)

Loads data from a text file

store(self, filename)

Stores the buffer's content into a file

addRow(self, list: List[bytes]) None#

Add a row to the buffer

clear(self) None#

Clears the buffer

getRow(self, row: int, list: List[bytes]) bool#

Writes all items from a row to list

load(self, filename: bytes | str | String, is_: bytes, ie_: bool, first_n: int) None#

Loads data from a text file

store(self, filename: bytes | str | String) None#

Stores the buffer’s content into a file