Skip to content

Data Structures

60 built-in function(s) in this category.

  • Append — Append[expr, elem] adds elem to the end of expr. (Stable)
  • Apply — f @@ expr or Apply[f, expr] (Stable)
  • AssociateTo — AssociateTo[s, key -> val] | AssociateTo[s, {rules}] (Stable)
  • Association — Association[key1 -> val1, key2 -> val2, ...] (also written <|...|>) (Stable)
  • AssociationMap — AssociationMap[f, {k1, k2, ...}] (Stable)
  • AssociationQ — AssociationQ[expr] (Stable)
  • AssociationThread — AssociationThread[{k...}, {v...}] | AssociationThread[keys -> values] (Stable)
  • Cases — Cases[{e1, e2, ...}, pattern] gives a list of the ei that match the pattern. (Stable)
  • Count — Count[list, pattern] gives the number of elements in list that match pattern. (Stable)
  • Counts — Counts[list] (Stable)
  • CountsBy — CountsBy[list, f] (Stable)
  • Delete — Delete[expr, n] deletes the element at position n in expr. (Stable)
  • DeleteCases — DeleteCases[expr, pattern] removes all elements of expr that match pattern. (Stable)
  • DeleteDuplicates — DeleteDuplicates[list] (Stable)
  • DeleteDuplicatesBy — DeleteDuplicatesBy[expr, f] (Stable)
  • DeleteMissing — DeleteMissing[expr] (Stable)
  • Drop — Drop[list, n] (Stable)
  • First — First[expr] gives the first element of expr. (Stable)
  • FoldList — FoldList[f, x, list] (Stable)
  • GatherBy — GatherBy[list, f] (Stable)
  • GroupBy — GroupBy[list, f] (Stable)
  • Join — Join[list1, list2, ...] (Stable)
  • KeyDrop — KeyDrop[assoc, key] | KeyDrop[assoc, {k1, ...}] (Stable)
  • KeyExistsQ — KeyExistsQ[assoc, key] (Stable)
  • KeyFreeQ — KeyFreeQ[assoc, key] (Stable)
  • KeyMap — KeyMap[f, assoc] (Stable)
  • KeyMemberQ — KeyMemberQ[assoc, key] (Stable)
  • KeySelect — KeySelect[assoc, pred] (Stable)
  • KeySort — KeySort[assoc] (Stable)
  • KeySortBy — KeySortBy[assoc, f] (Stable)
  • KeyTake — KeyTake[assoc, {k1, ...}] (Stable)
  • KeyUnion — KeyUnion[{assoc1, assoc2, ...}] (Stable)
  • KeyValueMap — KeyValueMap[f, assoc] (Stable)
  • KeyValuePattern — KeyValuePattern[{k1 -> p1, ...}] (Stable)
  • Keys — Keys[assoc] (Stable)
  • Last — Last[expr] gives the last element of expr. (Stable)
  • LengthWhile — LengthWhile[list, crit] (Stable)
  • Lookup — Lookup[assoc, key] (Stable)
  • Map — f /@ expr or Map[f, expr] (Stable)
  • MapAt — MapAt[f, expr, n] (Stable)
  • Max — Max[x1, x2, ...] (Stable)
  • Mean — Mean[data] gives the mean estimate of the elements in data. (Stable)
  • Median — Median[data] (Stable)
  • Merge — Merge[{assoc1, assoc2, ...}, f] (Stable)
  • Min — Min[x1, x2, ...] (Stable)
  • MinMax — MinMax[list] (Stable)
  • Most — Most[expr] gives all but the last element of expr. (Stable)
  • Position — Position[expr, pattern] gives a list of the positions at which objects matching pattern appear in expr. (Stable)
  • PositionIndex — PositionIndex[list] (Stable)
  • Prepend — Prepend[expr, elem] adds elem to the beginning of expr. (Stable)
  • Rest — Rest[expr] gives all but the first element of expr. (Stable)
  • Select — Select[list, crit] (Stable)
  • Sort — Sort[list] sorts the elements of list into canonical order. (Stable)
  • SortBy — SortBy[list, f] (Stable)
  • StandardDeviation — StandardDeviation[data] gives the standard deviation estimate of the elements in data. (Stable)
  • Take — Take[list, n] (Stable)
  • TakeWhile — TakeWhile[list, crit] (Stable)
  • Tally — Tally[list] counts the number of occurrences of each distinct element in list. (Stable)
  • Values — Values[assoc] (Stable)
  • Variance — Variance[data] gives the unbiased variance estimate of the elements in data. (Stable)