code: def test_add_intercept_ordering():
      """Tests that add_intercept gives same result for dask / numpy objects"""
      X_np = np.arange(100).reshape(20, 5)
      X_da = da.from_array(X_np, chunks=(20, 5))
      np_result = add_intercept(X_np)
      da_result = add_intercept(X_da)
      da.utils.assert_eq(np_result, da_result)
  
imports: import dask.array
  import dask.dataframe
  import numpy
  import numpy.linalg
  import pandas
  import pytest
  import sklearn.linear_model
  from dask.dataframe.utils import assert_eq
  from dask_glm.regularizers import Regularizer
  from sklearn.pipeline import make_pipeline
  import dask_ml.linear_model
  from dask_ml.datasets import make_classification, make_counts, make_regression
  from dask_ml.linear_model import LinearRegression, LogisticRegression, PoissonRegression
  from dask_ml.linear_model.utils import add_intercept
  from dask_ml.model_selection import GridSearchCV
label_desc: Use image node_id 17 for calling a global function with example usage: test_add_intercept_ordering() without return types