.. _l-functions: Functions ========= .. contents:: :local: :depth: 1 Summary +++++++ +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | function | class parent | truncated documentation | +=============================================================================================+==============+================================================================================================================================================================================================================================================+ | :func:`_setup_hook ` | | If this function is added to the module, the help automation and unit tests call it first before anything goes on ... | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`check ` | | Checks the library is working. It raises an exception. If you want to disable the logs: | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`combiner ` | | Joins (or combines) two generators. The function is written based on two reducers. The function is more efficient ... | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`create_array_numba ` | | Creates an array of size nb knowing its signature. | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`fast_parallel_mapper ` | | Parallelizes a mapper based on :epkg:`numba` and more specifically `Automatic parallelization with @jit `_. ... | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`ffilter ` | | Filters out elements from a generator. | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`mapper ` | | Applies function *fct* to a generator. | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`pyparallel_mapper ` | | Applies function *fct* to a generator. Relies on *ThreadPool*. | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`reducer ` | | Implements a reducer. | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`table_mortalite_euro_stat ` | | This function retrieves mortality table from `EuroStat `_ through `table de mortalité `_ ... | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`take ` | | Skips and takes elements from a generator. | +---------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+