code: def _check_array(self, X, **kwargs):
          
          if isinstance(X, np.ndarray):
              X = da.from_array(X, X.shape)
          X = check_array(X, **kwargs)
          return X
docs: Validate the data arguments X and y.
  
          By default, NumPy arrays are converted to 1-block dask arrays.
  
          Parameters
          ----------
          X, y : array-like