code: def _get_resampled(self, columns, start_session, end_session, assets):
      range_open = self._calendar.session_open(start_session)
      range_close = self._calendar.session_close(end_session)
  
      minute_data = self._minute_bar_reader.load_raw_arrays(
          columns,
          range_open,
          range_close,
          assets,
      )
  
      # Get the index of the close minute for each session in the range.
      # If the range contains only one session, the only close in the range
      # is the last minute in the data. Otherwise, we need to get all the
      # session closes and find their indices in the range of minutes.
      if start_session == end_session:
          close_ilocs = np.array(
              [len(minute_data[0]) - 1], dtype=np.int64
          )
      else:
          minutes = self._calendar.minutes_in_range(
              range_open,
              range_close,
          )
          session_closes = self._calendar.session_closes_in_range(
              start_session,
              end_session,
          )
          close_ilocs = minutes.searchsorted(session_closes.values)
  
      results = []
      shape = (len(close_ilocs), len(assets))
  
      for col in columns:
          if col != "volume":
              out = np.full(shape, np.nan)
          else:
              out = np.zeros(shape, dtype=np.uint32)
          results.append(out)
  
      for i in range(len(assets)):
          for j, column in enumerate(columns):
              data = minute_data[j][:, i]
              minute_to_session(
                  column, close_ilocs, data, results[j][:, i]
              )
  
      return results
  
imports: from collections import OrderedDict
  from abc import ABCMeta, abstractmethod
  import numpy
  import pandas
  from six import with_metaclass
  from zipline.data._resample import _minute_to_session_open, _minute_to_session_high, _minute_to_session_low, _minute_to_session_close, _minute_to_session_volume
  from zipline.data.bar_reader import NoDataOnDate
  from zipline.data.minute_bars import MinuteBarReader
  from zipline.data.session_bars import SessionBarReader
  from zipline.utils.memoize import lazyval
label_desc: Use image node_id 2 for calling the MinuteResampleSessionBarReader obj's underlying member method code with example usage: obj._get_resampled(columns, start_session, end_session, assets) and returns: results