code: def addhash(frame,**kw):
      '''
      helper function to add hashes to the given frame
      given in the dictionary d returned from firsthash.
  
      Parameters:
      -----------
        frame :  frame to hash.
  
      Keywords:
      ---------
        same as genhash
      
      Returns frame with added hashes, although it will be added in
      place.
      '''
      hashes = genhash(frame,**kw);
      frame['data'] = rfn.rec_append_fields(
          frame['data'],'hash',hashes);
      return framef addhash(frame,**kw):
      '''
      helper function to add hashes to the given frame
      given in the dictionary d returned from firsthash.
  
      Parameters:
      -----------
        frame :  frame to hash.
  
      Keywords:
      ---------
        same as genhash
      
      Returns frame with added hashes, although it will be added in
      place.
      '''
      hashes = genhash(frame,**kw);
      frame['data'] = rfn.rec_append_fields(
          frame['data'],'hash',hashes);
      return frame;
docs: helper function to add hashes to the given frame
      given in the dictionary d returned from firsthash.
  
      Parameters:
      -----------
        frame :  frame to hash.
  
      Keywords:
      ---------
        same as genhash
      
      Returns frame with added hashes, although it will be added in
      place.