Qurak

CountsBy

Tilgjengelig

Like `Counts`, but groups by the value of a classifier function.

CountsBy[{e1, e2, …}, f]
CountsBy[f]
CountsBy[{1, 2, 3, 4, 5, 6}, OddQ] → <|True -> 3, False -> 3|>

Emner

Relatert

Alle 6300 funksjoner · Bruk dette fra en MCP-klient