def reindex_axis(self, labels, axis=<NUM_LIT:0>, **kwargs):
<EOL>if axis != <NUM_LIT:0>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>msg = ("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>warnings.warn(msg, FutureWarning, stacklevel=<NUM_LIT:2>)<EOL>return self.reindex(index=labels, **kwargs)<EOL>
Conform Series to new index with optional filling logic.

.. deprecated:: 0.21.0
    Use ``Series.reindex`` instead.