def _get_objs_combined_axis(objs, intersect=False, axis=<NUM_LIT:0>, sort=True):
obs_idxes = [obj._get_axis(axis) for obj in objs<EOL>if hasattr(obj, '<STR_LIT>')]<EOL>if obs_idxes:<EOL><INDENT>return _get_combined_index(obs_idxes, intersect=intersect, sort=sort)<EOL><DEDENT>
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