dcase_util.containers.OneToOneMappingContainer.map

OneToOneMappingContainer.map(key, default=None)[source]

Map with a key.

Parameters
keystr or number

Mapping key

defaultstr or number

Default value to be returned if key does not exists in the mapping container.

Returns
OneToOneMappingContainer

flipped map