change the numpy types accordingly to "i1" where needed in the input record array