What happened Shares of Targa Resources (NYSE: TRGP) traded more than 11% higher as of 2:05 p.m. EDT after it was announced that the energy company will soon join the S&P MidCap 400 Index. So what The S&P MidCap 400 Index is composed of a wide range of publicly traded U.S. mid-cap stocks with a market capitalization ranging from $3.2 billion to $9.8 billion. Targa, one of the largest independent infrastructure companies in the U.S., currently has a market cap around $10.5 billion. It replaces the property data company CoreLogic in the index. CoreLogic is getting acquired by the private equity and venture capital firms Stone Point Capital and Insight Partners in a deal soon expected to close. Image source: Getty Images. Stocks tend to appreciate when they are added to an index because funds that track that index must now buy the stock. Also, being added to an index results in greater visibility for the stock. Now what Targa reported net income for common shareholders of more than $124 million in the first quarter of 2021, significantly up from the nearly $1.8 billion loss it reported in the first quarter of 2020. Energy companies got hit incredibly hard during the beginning of the pandemic and are now on the rebound as the world recovers. After the strong first quarter, Targa revised its outlook for the rest of the year and now believes it can generate full-year adjusted EBITDA (earnings before interest, taxes, depreciation, and amortization) of between $1.8 billion and $1.9 billion, so things are certainly trending in the right direction for the company. 10 stocks we like better than Targa ResourcesWhen investing geniuses David and Tom Gardner have a stock tip, it can pay to listen. After all, the newsletter they have run for over a decade, Motley Fool Stock Advisor, has tripled the market.* David and Tom just revealed what they believe are the ten best stocks for investors to buy right now... and Targa Resources wasn't one of them! That's right -- they think these 10 stocks are even better buys. See the 10 stocks *Stock Advisor returns as of May 11, 2021 Bram Berkowitz has no position in any of the stocks mentioned. The Motley Fool recommends Targa Resources. The Motley Fool has a disclosure policy.Source