#NEWLINE# @ h . memoize #NEWLINE# def tcounts( self ) : #NEWLINE# #INDENT# '\n        :return: a data frame containing the names and sizes for all tables\n        ' #NEWLINE# df = pd . DataFrame ( [ [ t . name ( ) , t . size ( ) ] for t in self . tables ( ) ] , columns = [ 'name' , 'size' ] ) #NEWLINE# df . index = t . name #NEWLINE# return df