Pandya was part of India's World Cup squad. He played four matches, picking five wickets with the best bowling figures of 2/34 and scoring 11* against Australia in his only innings before an ankle injury sustained during a league stage game against Bangladesh ruled him out.
Pandya sustained an injury to his ankle while attempting to stop a ball against Bangladesh on October 19. He did not take further part in the match after it. He also missed the match against New Zealand. India won both the games. Suryakumar Yadav and Mohammed Shami filled up spots to make up