API Reference
Index
Iterators emitting only the grouped elements or indices
GroupNumbers.groupby2 — Methodgroupby2(xs; keyfunc=identity, compare=isequal, emit=identity)An iterator that yields a group xg of elements from the iterator xs, where the key is computed by applying keyfunc to each element of xs. Compare adjacent keys by compare function, then, emits the vector xg of the group of elements.
See documentation
GroupNumbers.groupby2_indices — Methodgroupby2_indices(xs; keyfunc=identity, compare=isequal)An iterator that yields a group ig of indices from the iterator xs, where the key is computed by applying keyfunc to each element of xs. Compare adjacent keys by compare function, then, emits the vector ig of the group of indices.
See documentation
GroupNumbers.groupby_numbers — Methodgroupby_numbers(xs; keyfunc=identity, emit=identity, kwargs)An iterator that yields a group xg of numbers from the iterator xs of presumably numbers, where the key is computed by applying keyfunc to each element of xs. Compare adjacent keys by isapprox function with supplied kwargs optional parameters, then, emit the vector xg of the group of numbers.
See documentation
GroupNumbers.groupby_numbers_indices — Methodgroupby_numbers_indices(xs; keyfunc=identity, kwargs)An iterator that yields a group ig of indices from the iterator xs of presumably numbers, where the key is computed by applying keyfunc to each element of xs. Compare adjacent keys by isapprox function with supplied kwargs optional parameters, then, emits the vector ig of the group of indices.
See documentation
Iterators emitting keys and grouped elements or indices
GroupNumbers.groupby2_dict — Methodgroupby2_dict(xs; keyfunc=identity, compare=isequal, emit=identity)An iterator that yields a pair (k,xg) of key and corresponding group of elements from the iterator xs, where the key k is computed by applying keyfunc to each element of xs. Compare adjacent keys by compare function, then, emits the key k and the vector xg of the group of elements.
See documentation
GroupNumbers.groupby2_dict_indices — Methodgroupby2_dict_indices(xs; keyfunc=identity, compare=isequal)An iterator that yields a pair (k,ig) of a key and corresponding group of indices from the iterator xs, where the key k is computed by applying keyfunc to each element of xs. Compare adjacent keys by compare function, then, emits the key k and the vector ig of the group of indices.
See documentation
GroupNumbers.groupby_numbers_dict — Methodgroupby_numbers_dict(xs; keyfunc=identity, emit=identity, kwargs)An iterator that yields a pair (k,xg) of a key and corresponding group of elements from the iterator xs of presumably numbers, where the key k is computed by applying keyfunc to each element of xs. Compare adjacent keys by isapprox function with supplied kwargs optional parameters, then, emits the key k and the vector xg of group of elements.
See documentation
GroupNumbers.groupby_numbers_dict_indices — Methodgroupby_numbers_dict_indices(xs; keyfunc=identity, kwargs)An iterator that yields a pair (k,ig) of a key and corresponding group of indices from the iterator xs of presumably numbers, where the key k is computed by applying keyfunc to each element of xs. Compare adjacent keys by isapprox function with supplied kwargs optional parameters, then, emits the key k and the vector ig of the group of indices.
See documentation