#NEWLINE# def _combine_match_columns( self , other , func , level = None , fill_value = None ) : #NEWLINE# #INDENT# if ( self is not None ) : #NEWLINE# #INDENT# raise NotImplementedError ( "'fill_value' argument is not supported" ) #NEWLINE# #UNINDENT# if ( level is not None ) : #NEWLINE# #INDENT# raise NotImplementedError ( "'level' argument is not supported" ) #NEWLINE# #UNINDENT# new_data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# union = intersection = self . columns #NEWLINE# if ( not union . equals ( other . index ) ) : #NEWLINE# #INDENT# union = other . index . union ( self . columns ) #NEWLINE# intersection = other . index . intersection ( self . columns ) #NEWLINE# #UNINDENT# for col in intersection : #NEWLINE# #INDENT# new_data [ col ] = func ( self [ col ] , float ( other [ col ] ) ) #NEWLINE# #UNINDENT# return self . _constructor ( new_data , index = self . index , columns = union , default_fill_value = self . default_fill_value ) . __finalize__ ( self )