code: def test_train_test_split_shuffle_dataframe(xy_classification_pandas):
      X, y = xy_classification_pandas
      (
          X_train,
          X_test,
          y_train,
          y_test,
      ) = dask_ml.model_selection.train_test_split(
          X, y, random_state=42, shuffle=True
      )
      with pytest.raises(AssertionError):
          np.testing.assert_array_equal(
              X_train.index, sorted(X_train.index)
          )
  
      (
          X_train,
          X_test,
          y_train,
          y_test,
      ) = dask_ml.model_selection.train_test_split(
          X, y, random_state=42, shuffle=False
      )
      np.testing.assert_array_equal(
          X_train.index, sorted(X_train.index)
      )
  
imports: import dask.array
  import dask.dataframe
  import numpy
  import pandas
  import pytest
  from sklearn.datasets import fetch_20newsgroups, make_regression
  import dask_ml.model_selection
  from dask_ml._compat import DASK_2130
label_desc: Use image node_id 8 for calling a global function with example usage: test_train_test_split_shuffle_dataframe(xy_classification_pandas) without return types