class_docstr: Base class for nested array objects.
class_docstr_tok: ["Base","class","for","nested","array","objects","."]
docstr: Number of array dimensions (axes).
docstr_tok: ["Number","of","array","dimensions","(","axes",")","."]
code: def ndim(self) -> int:
      """Number of array dimensions (axes)."""
      return len(tuple(self._shape))
  
imports: import abc
  from typing import List, Tuple
  import ivy
label_desc: Use image node_id 13 for calling the NestedArrayBase obj's underlying member method code with example usage: obj.ndim() and returns: len