prune_nest_at_index#

ivy.prune_nest_at_index(nest, index, /)[source]#

Prune a nested object at a specified index.

Parameters:
  • nest (Iterable) – The nested object to prune.

  • index (Tuple) – A tuple of indices for the index at which to prune.

Return type:

None