KeyDropFrom

KeyDropFrom[a,key]

changes the association a by dropping the element with the specified key.

KeyDropFrom[a,{key1,key2,}]

drops the elements with keys keyi.

Details

Examples

open allclose all

Basic Examples  (2)

Delete the entry with the specified key from an association:

Delete entries, given a list of keys:

Scope  (1)

Drop an entry from a nested association:

Wolfram Research (2014), KeyDropFrom, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyDropFrom.html.

Text

Wolfram Research (2014), KeyDropFrom, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyDropFrom.html.

BibTeX

@misc{reference.wolfram_2021_keydropfrom, author="Wolfram Research", title="{KeyDropFrom}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/KeyDropFrom.html}", note=[Accessed: 22-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_keydropfrom, organization={Wolfram Research}, title={KeyDropFrom}, year={2014}, url={https://reference.wolfram.com/language/ref/KeyDropFrom.html}, note=[Accessed: 22-October-2021 ]}

CMS

Wolfram Language. 2014. "KeyDropFrom." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/KeyDropFrom.html.

APA

Wolfram Language. (2014). KeyDropFrom. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KeyDropFrom.html