Remove apply_linear_index from tuple dtype