ENH: Now throwing ValueError instead of IndexError. Also saving original axis to make the error message less confusing.