Introduction
Tutorials
Modules
Interfaces
Acknowledgements
References
Calls or indexes the group by the param
group (Union[Callable[[Any], Any], Mapping, Sequence]) – Either a Callable or a Mapping
Union
Callable
Any
Mapping
Sequence
param (Any) – The parameters to use for mapping
Examples
>>> gmap([1, 23, 44], 1) 23 >>> gmap({"a": 3, "b": 5, "c": 4}, "c") 4 >>> gmap(lambda x: 3 * x, 20) 60
Returns: