Ramaswamy was born in Varanasi and moved to Vidarbha to pursue a career in cricket. He made his Ranji Trophy debut for the side in 2014, against Punjab, scoring 2 in the first innings and 25 in the second. Vidarbha did not reach the knockout stage that season, and he was unable to hold down a regular place. For several seasons after that, he moved in and out of the team.
His breakthrough came in the 2017/18 season, when he settled into the role of opening partner to Vidarbha captain Faiz Fazal. Across 6 innings that season he scored 463 runs at an average of 92.60, establishing himself at the top of the order.
That run of form marked a clear change from the uneven start to his first-class career with Vidarbha.