class_docstr: Base class for nested array objects.
class_docstr_tok: ["Base","class","for","nested","array","objects","."]
code: def ragged_map(self, fn):
      arg = ivy.copy_nest(self._data)
      ivy.nested_map(lambda x: fn(x), arg, shallow=True)
      # infer dtype, shape, and device from the first array in the ret data
      arr0_id = ivy.nested_argwhere(
          arg, ivy.is_ivy_array, stop_after_n_found=1
      )[0]
      arr0 = ivy.index_nest(arg, arr0_id)
      inner_shape = arr0.shape.as_list()[1:]
      ragged_ret = ivy.NestedArray.nested_array(
          arg, self._nested_rank, inner_shape, arr0.dtype, arr0.device
      )
      return ragged_ret
  
imports: import abc
  from typing import List, Tuple
  import ivy
label_desc: Use image node_id 7 for calling the NestedArrayBase obj's underlying member method code with example usage: obj.ragged_map(fn) and returns: ragged_ret