code: def data(self):
      if self.by_levels is None:
          data = self.term.data
      else:
          data = self.term.data[:, :-1]
      return data
  
imports: from functools import partial
  import numpy
  import formulae.terms
  from bambi.terms.base import BaseTerm, VALID_PRIORS
label_desc: Use image node_id 5 for calling the HSGPTerm obj's underlying member method code with example usage: obj.data() and returns: data