Index 2817 is out of bounds for axis 0 with size 2794

I’m getting this “index 2817 is out of bounds for axis 0 with size 2794” I’m not sure what it means