list.indexmap
Create a new list based on the indices of an incoming list
list.indexmap(input, indices): out1Arguments:
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| input | list | The incoming list to pull values from. | |
| indices | list | The list of indices that determines which values from the left input list will be output. |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | list | The new list composed of the values in the left list at the indices specified by the right list. |