def _get_series_list(self, others, ignore_index=False):
<EOL>from pandas import Index, Series, DataFrame<EOL>idx = self._orig if isinstance(self._orig, Index) else self._orig.index<EOL>err_msg = ('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>if isinstance(others, Series):<EOL><INDENT>warn = not others.index.equals(idx)<EOL>los = [Series(others.values, index=idx)<EOL>if ignore_index and warn else others]<EOL>return (los, warn)<EOL><DEDENT>elif isinstance(others, Index):<EOL><INDENT>warn = not others.equals(idx)<EOL>los = [Series(others.values,<EOL>index=(idx if ignore_index else others))]<EOL>return (los, warn)<EOL><DEDENT>elif isinstance(others, DataFrame):<EOL><INDENT>warn = not others.index.equals(idx)<EOL>if ignore_index and warn:<EOL><INDENT>others = others.copy()<EOL>others.index = idx<EOL><DEDENT>return ([others[x] for x in others], warn)<EOL><DEDENT>elif isinstance(others, np.ndarray) and others.ndim == <NUM_LIT:2>:<EOL><INDENT>others = DataFrame(others, index=idx)<EOL>return ([others[x] for x in others], False)<EOL><DEDENT>elif is_list_like(others, allow_sets=False):<EOL><INDENT>others = list(others)  <EOL>if all(is_list_like(x, allow_sets=False) for x in others):<EOL><INDENT>los = []<EOL>join_warn = False<EOL>depr_warn = False<EOL>while others:<EOL><INDENT>nxt = others.pop(<NUM_LIT:0>)  <EOL>if not (isinstance(nxt, (Series, Index)) or<EOL>(isinstance(nxt, np.ndarray) and nxt.ndim == <NUM_LIT:1>)):<EOL><INDENT>depr_warn = True<EOL><DEDENT>if not isinstance(nxt, (DataFrame, Series,<EOL>Index, np.ndarray)):<EOL><INDENT>nxt = list(nxt)<EOL><DEDENT>no_deep = ((isinstance(nxt, np.ndarray) and nxt.ndim == <NUM_LIT:1>)<EOL>or isinstance(nxt, (Series, Index)))<EOL>is_legal = ((no_deep and nxt.dtype == object)<EOL>or all(not is_list_like(x) for x in nxt))<EOL>if not is_legal or isinstance(nxt, DataFrame):<EOL><INDENT>raise TypeError(err_msg)<EOL><DEDENT>nxt, wnx = self._get_series_list(nxt,<EOL>ignore_index=ignore_index)<EOL>los = los + nxt<EOL>join_warn = join_warn or wnx<EOL><DEDENT>if depr_warn:<EOL><INDENT>warnings.warn('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>', FutureWarning, stacklevel=<NUM_LIT:3>)<EOL><DEDENT>return (los, join_warn)<EOL><DEDENT>elif all(not is_list_like(x) for x in others):<EOL><INDENT>return ([Series(others, index=idx)], False)<EOL><DEDENT><DEDENT>raise TypeError(err_msg)<EOL>
Auxiliary function for :meth:`str.cat`. Turn potentially mixed input
into a list of Series (elements without an index must match the length
of the calling Series/Index).

Parameters
----------
others : Series, Index, DataFrame, np.ndarray, list-like or list-like
    of objects that are Series, Index or np.ndarray (1-dim)
ignore_index : boolean, default False
    Determines whether to forcefully align others with index of caller

Returns
-------
tuple : (others transformed into list of Series,
         boolean whether FutureWarning should be raised)