#NEWLINE# def compute( self ) : #NEWLINE# #INDENT# rdataframe = self . get_input ( 'rdataframe' ) #NEWLINE# colnames = list ( rdataframe . colnames ( ) ) #NEWLINE# odict = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for i in xrange ( len ( rdataframe ) ) : #NEWLINE# #INDENT# odict [ colnames [ i ] ] = list ( rdataframe [ i ] ) #NEWLINE# #UNINDENT# self . set_output ( 'dict' , odict )