dcase_util.data.DataBuffer.set

DataBuffer.set(key, data=None, meta=None)[source]

Insert item to the buffer

Parameters
keystr or number

Key value

data

Item data

meta

Item meta

Returns
DataBuffer object