class_docstr: DayLast Operator
  
  Parameters
  ----------
  feature : Expression
      feature instance
  
  Returns
  ----------
  feature:
      a series of that each value equals the last value of its day
class_docstr_tok: ["DayLast","Operator","Parameters","--","--","--","--","--","feature",":","Expression","feature","instance","Returns","--","--","--","--","--","feature",":","a","series","of","that","each","value","equals","the","last","value","of","its","day"]
code: def _load_internal(self, instrument, start_index, end_index, freq):
      _calendar = get_calendar_day(freq=freq)
      series = self.feature.load(
          instrument, start_index, end_index, freq
      )
      return series.groupby(_calendar[series.index]).transform("last")
  
imports: import numpy
  import pandas
  from datetime import datetime
  from qlib.data.cache import H
  from qlib.data.data import Cal
  from qlib.data.ops import ElemOperator, PairOperator
  from qlib.utils.time import time_to_day_index
label_desc: Use image node_id 1 for calling the DayLast obj's underlying member method code with example usage: obj._load_internal(instrument, start_index, end_index, freq) and returns: series