class_docstr: Simple Dataset wrapper for lists and arrays.
  
  Parameters
  ----------
  data : dataset-like object
      Any object that implements `len()` and `[]`.
code: def __mx_handle__(self):
      if self._handle is None:
          import numpy as np
          from ._internal import NDArrayDataset
  
          if isinstance(self._data, (np.ndarray, ndarray.NDArray)):
              self._handle = NDArrayDataset(
                  arr=default_array(self._data)
              )
          else:
              raise NotImplementedError(
                  "C++ handle for general type object is not supported, "
                  "given {}, expect np.ndarray".format(type(self._data))
              )
      return self._handle
  
imports: import os
  from ...None import recordio, ndarray
  from ...util import default_array
label_desc: Use image node_id 4 for calling the SimpleDataset obj's underlying member method code with example usage: obj.__mx_handle__() and returns: self