replace ignore_indices to corresponding parameters supported in 1.x