code: def wrap_results(self):
      results = self.results
  
      # see if we can infer the results
      if len(results) > 0 and is_sequence(results[0]):
          return self.wrap_results_for_axis()
  
      # dict of scalars
      result = self.obj._constructor_sliced(results)
      result.index = self.res_index
  
      return result
  
imports: import warnings
  import numpy
  from pandas._libs import reduction
  import pandas.compat
  from pandas.util._decorators import cache_readonly
  from pandas.core.dtypes.common import is_dict_like, is_extension_type, is_list_like, is_sequence
  from pandas.core.dtypes.generic import ABCSeries
  from pandas.io.formats.printing import pprint_thing
label_desc: Use image node_id 13 for calling the FrameApply obj's underlying member method code with example usage: obj.wrap_results() and returns: result, self