code: def _get_array_depth(l: Any) -> int:
      if isinstance(l, np.ndarray):
          return l.ndim
      if isinstance(l, list):
          return (
              max(_get_array_depth(item) for item in l) + 1 if l else 1
          )
      return 0
  
imports: import logging
  import warnings
  from collections import defaultdict
  from typing import Any, Dict, List, Optional, Union
  import numpy
  import pandas
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.types import DataType
  from mlflow.types.schema import Array, ColSpec, Object, ParamSchema, ParamSpec, Property, Schema, TensorSpec
label_desc: Use image node_id 27 for calling a global function with example usage: _get_array_depth(l) and returns: int, l, unknown