code: def _get_objs_combined_axis(objs, intersect=False, axis=0, sort=True):
      
      obs_idxes = [obj._get_axis(axis) for obj in objs
                   if hasattr(obj, '_get_axis')]
      if obs_idxes:
          return _get_combined_index(obs_idxes, intersect=intersect, sort=sort)
docs: Extract combined index: return intersection or union (depending on the
      value of "intersect") of indexes on given axis, or None if all objects
      lack indexes (e.g. they are numpy arrays).
  
      Parameters
      ----------
      objs : list of objects
          Each object will only be considered if it has a _get_axis
          attribute.
      intersect : bool, default False
          If True, calculate the intersection between indexes. Otherwise,
          calculate the union.
      axis : {0 or 'index', 1 or 'outer'}, default 0
          The axis to extract indexes from.
      sort : bool, default True
          Whether the result index should come out sorted or not.
  
      Returns
      -------
      Index