.. _sec-collection-functions: Collection functions -------------------- .. currentmodule:: hail.expr.functions .. rubric:: Collection constructors .. autosummary:: dict empty_dict array empty_array set empty_set .. rubric:: Collection functions .. autosummary:: len map flatmap starmap zip enumerate zip_with_index flatten any all filter sorted find group_by fold array_scan reversed keyed_intersection keyed_union .. autofunction:: len .. autofunction:: map .. autofunction:: flatmap .. autofunction:: starmap .. autofunction:: zip .. autofunction:: enumerate .. autofunction:: zip_with_index .. autofunction:: flatten .. autofunction:: any .. autofunction:: all .. autofunction:: filter .. autofunction:: sorted .. autofunction:: find .. autofunction:: group_by .. autofunction:: fold .. autofunction:: array_scan .. autofunction:: reversed .. autofunction:: keyed_intersection .. autofunction:: keyed_union