def join(self, other, how='<STR_LIT:left>', level=None, return_indexers=False,<EOL>sort=False):
if (not isinstance(other, DatetimeIndex) and len(other) > <NUM_LIT:0> and<EOL>other.inferred_type not in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>')):<EOL><INDENT>try:<EOL><INDENT>other = DatetimeIndex(other)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>pass<EOL><DEDENT><DEDENT>this, other = self._maybe_utc_convert(other)<EOL>return Index.join(this, other, how=how, level=level,<EOL>return_indexers=return_indexers, sort=sort)<EOL>
See Index.join