remove
Remove dictionary entries.
Syntax
db = remove(da, key)
Input argument
da - scalar: a dictionary object.
key - scalar or array: key
Output argument
db - scalar: a dictionary object.
Description
db = remove(da, key) deletes the entry associated with the key from dictionary da.
d = remove(d, key) is equivalent to d[key] = [].
Example
See also
History
Version | Description |
---|---|
1.5.0 | initial version |
Author
Allan CORNET
Last updated