Data Structures¶
82 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)ApplyTo— ApplyTo[x, f] (Stable)AssociateTo— AssociateTo[s, key -> val] | AssociateTo[s, {rules}] (Stable)Association— Association[key1 -> val1, key2 -> val2, ...] (also written <|...|>) (Stable)AssociationComap— AssociationComap[{f1, f2, ...}, x] (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)Catenate— Catenate[{e1, e2, ...}] (Stable)Count— Count[list, pattern] gives the number of elements in list that match pattern. (Stable)CountDistinct— CountDistinct[expr] (Stable)CountDistinctBy— CountDistinctBy[expr, f] (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)Discard— Discard[expr, crit] (Stable)Drop— Drop[list, n] (Stable)First— First[expr] gives the first element of expr. (Stable)FoldList— FoldList[f, x, list] (Stable)Gather— Gather[list] (Stable)GatherBy— GatherBy[list, f] (Stable)GroupBy— GroupBy[list, f] (Stable)Insert— Insert[expr, elem, n] inserts elem at position n in expr. (Stable)Join— Join[list1, list2, ...] (Stable)JoinAcross— JoinAcross[{a1, ...}, {b1, ...}, spec] (Stable)Key— Key[k] (Stable)KeyComplement— KeyComplement[{assoc1, assoc2, ...}] (Stable)KeyDrop— KeyDrop[assoc, key] | KeyDrop[assoc, {k1, ...}] (Stable)KeyExistsQ— KeyExistsQ[assoc, key] (Stable)KeyFreeQ— KeyFreeQ[assoc, patt] (Stable)KeyIntersection— KeyIntersection[{assoc1, assoc2, ...}] (Stable)KeyMap— KeyMap[f, assoc] (Stable)KeyMemberQ— KeyMemberQ[assoc, patt] (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)Missing— Missing[] | Missing["reason"] | Missing["reason", data] (Stable)MissingQ— MissingQ[expr] (Stable)Most— Most[expr] gives all but the last element of expr. (Stable)Normal— Normal[expr] (Stable)Part— expr[[i]] or Part[expr, i] (Stable)Partition— Partition[list, n] (Stable)Pick— Pick[expr, sel] (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)SparseArray— SparseArray[{pos1 -> v1, ...}], SparseArray[rules, dims], SparseArray[rules, dims, default] (Stable)Splice— Splice[{e1, e2, ...}] (Stable)StandardDeviation— StandardDeviation[data] gives the standard deviation estimate of the elements in data. (Stable)SubsetQ— SubsetQ[a, b] (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)Transpose— Transpose[list] (Stable)Values— Values[assoc] (Stable)Variance— Variance[data] gives the unbiased variance estimate of the elements in data. (Stable)