#NEWLINE# def _format_strings( self ) : #NEWLINE# #INDENT# from pandas.tseries.period import IncompatibleFrequency #NEWLINE# try : #NEWLINE# #INDENT# values = PeriodIndex ( self . values ) . to_native_types ( ) #NEWLINE# #UNINDENT# except IncompatibleFrequency : #NEWLINE# #INDENT# values = Index ( self . values , dtype = 'object' ) . to_native_types ( ) #NEWLINE# #UNINDENT# formatter = ( self . formatter or ( lambda x : ( '%s' % x ) ) ) #NEWLINE# fmt_values = [ formatter ( x ) for x in values ] #NEWLINE# return self