Complex sentence: In October 2017, Virat Kohli was named as India's captain for the Tests and in November 2017, he was rested for the ODIs, in preparation for India's tour to South Africa at the end of the year.
Split into simpler sentences: In October 2017, Virat Kohli was named as India's captain for the Tests. However, in November 2017, he was rested for the ODIs, in preparation for India's tour to South Africa at the end of the year.