New York-based investment firm KKR & Co Inc (NYSE:KKR) has agreed to buy a 317-MWp operating solar portfolio in India from infrastructure developer Shapoorji Pallonji Infrastructure Capital (SP Infra).