def _format_native_types(self, na_rep='<STR_LIT>', quoting=None, **kwargs):
mask = isna(self)<EOL>if not self.is_object() and not quoting:<EOL><INDENT>values = np.asarray(self).astype(str)<EOL><DEDENT>else:<EOL><INDENT>values = np.array(self, dtype=object, copy=True)<EOL><DEDENT>values[mask] = na_rep<EOL>return values<EOL>
Actually format specific types of the index.