code: def _shuffle(data, random_state=None):
      generator = check_random_state(random_state)
      n_rows, n_cols = data.shape
      row_idx = generator.permutation(n_rows)
      col_idx = generator.permutation(n_cols)
      result = data[row_idx][:, col_idx]
      return result, row_idx, col_idx
  
imports: import numbers
  import array
  import numpy
  from scipy import linalg
  import scipy.sparse
  from ..preprocessing import MultiLabelBinarizer
  from ..utils import check_array, check_random_state
  from ..utils import shuffle
  from ..utils.fixes import astype
  from ..utils.random import sample_without_replacement
  from ..externals import six
label_desc: Use image node_id 20 for calling a global function with example usage: _shuffle(data, random_state) and returns: result,  row_idx,  col_idx