code: def _add_intercept(x):
      ones = np.ones((x.shape[0], 1), dtype=x.dtype)
      return np.concatenate([x, ones], axis=1)
  
file_path: dask-ml/dask_ml/linear_model/utils.py
imports: import dask.array
  import dask.dataframe
  import numpy
  from multipledispatch import dispatch
label_desc: Use image node_id 6 for calling a global function with example usage: _add_intercept(x) and returns: np