code: def load( self, stats ):
          
          rows = self.rows
          for func, raw in stats.iteritems():
              try:
                  rows[func] = row = PStatRow( func,raw )
              except ValueError, err:
                  log.info( 'Null row: %s', func )
          for row in rows.itervalues():
              row.weave( rows )
          return self.find_root( rows )
docs: Build a squaremap-compatible model from a pstats class