code: def array(
      object,
      dtype=None,
      *,
      copy=True,
      order="K",
      subok=False,
      ndmin=0,
      like=None,
  ):
      ret = ivy.array(object, copy=copy, dtype=dtype)
      if ivy.get_num_dims(ret) < ndmin:
          ret = ivy.expand_dims(
              ret, axis=list(range(ndmin - ivy.get_num_dims(ret)))
          )
      return ret
  
imports: import ivy
  from ivy.functional.frontends.numpy.func_wrapper import to_ivy_arrays_and_back, handle_numpy_dtype
label_desc: Use image node_id 1 for calling a global function with example usage: array(object, dtype) and returns: ret