Qurak

Gather

متاحة

Groups identical elements together, maintaining order of first appearance.

Gather[list]
Gather[list, test]
Gather[{1, 1, 2, 2, 1}] → {{1, 1, 1}, {2, 2}}Gather[{a, b, a, c, b}] → {{a, a}, {b, b}, {c}}

المواضيع

ذات صلة

كل الدوال الـ6300 · استخدم هذا من عميل MCP