Preprocessing the data for batsmen