code: def load_pendigits():
      data_home = get_data_home()
      train_file = os.path.join(data_home, "pendigits")
      test_file = os.path.join(data_home, "pendigits.t")
      return _todense(_load(train_file, test_file, "pendigits"))
  
imports: import os
  import numpy
  import scipy.sparse
  from sklearn.datasets.base import get_data_home
  from sklearn.utils import check_random_state
label_desc: Use image node_id 27 for calling a global function with example usage: load_pendigits() and returns: _todense