def _format_native_types(self, na_rep='<STR_LIT>', date_format=None, **kwargs):
values = self.astype(object)<EOL>if date_format:<EOL><INDENT>formatter = lambda dt: dt.strftime(date_format)<EOL><DEDENT>else:<EOL><INDENT>formatter = lambda dt: '<STR_LIT:%s>' % dt<EOL><DEDENT>if self._hasnans:<EOL><INDENT>mask = self._isnan<EOL>values[mask] = na_rep<EOL>imask = ~mask<EOL>values[imask] = np.array([formatter(dt) for dt<EOL>in values[imask]])<EOL><DEDENT>else:<EOL><INDENT>values = np.array([formatter(dt) for dt in values])<EOL><DEDENT>return values<EOL>
actually format my specific types