#NEWLINE# def __init__( self , categorical , buf = None , length = True , na_rep = 'NaN' , footer = True ) : #NEWLINE# #INDENT# self . categorical = categorical #NEWLINE# self . buf = ( buf if ( buf is not None ) else StringIO ( u ( '' ) ) ) #NEWLINE# self . na_rep = na_rep #NEWLINE# self . length = length #NEWLINE# self . footer = footer