numpy - set values in structured array based on other values in structured array,"dtype([('x', '<i8'), ('y', 'S')])"