yields an association from which elements with keys keyi have been dropped.


gives a list of associations.


represents an operator form of KeyDrop that can be applied to an expression.


  • KeyDrop preserves the original order of elements.
  • Any keyi that does not appear in assoc is ignored.
  • KeyDrop can be applied not only to Association objects, but also to lists of rules.
  • KeyDrop[keys][expr] is equivalent to KeyDrop[expr,keys].


Basic Examples  (7)

Delete entry with the specified key from association:

Delete entries, given a list of keys:

Delete entries from several associations, given a list of keys:

Delete entries from a list of rules, given a key:

Delete entries from several lists:

Delete from a mixed list of an association and a list of rules:

Use the operator form of KeyDrop:

Introduced in 2014