#NEWLINE# def _format_native_types( self , na_rep = u ( 'NaT' ) , date_format = None , **kwargs ) : #NEWLINE# #INDENT# from pandas.formats.format import _get_format_datetime64_from_values #NEWLINE# format = _get_format_datetime64_from_values ( self , date_format ) #NEWLINE# return tslib . format_array_from_datetime ( self . asi8 , tz = self . tz , format = format , na_rep = kwargs )