Qurak

CountDistinctBy

Verfügbar

Counts distinct values of a function applied to each element

CountDistinctBy[{e1, e2, …}, f]
CountDistinctBy[f]
CountDistinctBy[{{a, x}, {a, y}, {b, z}}, First] → 2CountDistinctBy[{1, 2, 3, -2, -3}, Abs] → 3

Themen

Verwandt

Alle 6300 Funktionen · Dies aus einem MCP-Client verwenden