dcase_util.containers.ListContainer.load

ListContainer.load(filename=None, headers=None, file_format=None)[source]

Load file

Parameters
filenamestr, optional

File path Default value filename given to class constructor. Default value None

headerslist of str, optional

List of column names. Default value None

file_formatFileFormat, optional

Forced file format, use this when there is a miss-match between file extension and file format. Default value None

Returns
self
Raises
IOError:

File does not exists or has unknown file format