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.


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

- KeyDropFrom has attribute HoldFirst.
- KeyDropFrom effectively modifies the value of a in place.
See Also
Related Guides
History
Text
Wolfram Research (2014), KeyDropFrom, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyDropFrom.html.
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
BibTeX
@misc{reference.wolfram_2025_keydropfrom, author="Wolfram Research", title="{KeyDropFrom}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/KeyDropFrom.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_keydropfrom, organization={Wolfram Research}, title={KeyDropFrom}, year={2014}, url={https://reference.wolfram.com/language/ref/KeyDropFrom.html}, note=[Accessed: 11-August-2025]}