#NEWLINE# def _wrap_results( self , results , blocks , obj ) : #NEWLINE# #INDENT# '\n        wrap the results\n\n        Paramters\n        ---------\n        results : list of ndarrays\n        blocks : list of blocks\n        obj : conformed data (may be resampled)\n        ' #NEWLINE# final = [ ] #NEWLINE# for ( result , block ) in zip ( results , blocks ) : #NEWLINE# #INDENT# result = self . _wrap_result ( block , block = block , obj = obj ) #NEWLINE# if ( result . ndim == 1 ) : #NEWLINE# #INDENT# return result #NEWLINE# #UNINDENT# final . append ( result ) #NEWLINE# #UNINDENT# if ( not len ( final ) ) : #NEWLINE# #INDENT# return obj . astype ( 'float64' ) #NEWLINE# #UNINDENT# return pd . concat ( final , axis = 1 ) . reindex ( columns = obj . columns )