make the group labels tuples of ints not of numpy arrays