The S&P 500 rose for a fourth straight week as investors cheered better-than-expected inflation numbers. The consumer price index rose 8.5% year over year in July, compared with economists’ expectations of 8.7%. Meanwhile, wholesale inflation as measured by the producer price index fell 0.5% last month. The weekly gain marks the longest winning streak since November 2021. But amid the sea of rising stocks, certain names stand out in the crowd. The following is a look at the 10 best performing stocks in the S&P 500 for the week. CNBC Pro looked at the week-to-date percentage change, the upside (or downside) to the median analyst price target and the percentage of buy ratings on the stock. The week-to-date values are per 9:40 a.m. ET. Nielsen Holdings saw the biggest increase this week, up 19.4 percent. The television ratings company said Thursday it reached an initial agreement to allow private equity firms to buy approximately 27% of its shares. However, the analysts are not so keen on the share going forward. FactSet data shows that only 16.7% of analysts who cover Nielsen rate it a buy. Additionally, the stock has only 1.8% upside, based on the average analyst price target. Shares of Principal Financial have seen the second biggest gains of the week, up 14.3%, after the company reported strong second-quarter results on Tuesday. But only about 13% of analysts covering the stock are a buy, FactSet data shows. Analysts also see the stock falling another 10% from here. Disney also saw big gains this week, and a majority of analysts covering the stock believe there is more room to run. Shares are up more than 13% for the week after the company reported better-than-expected streaming numbers and strong theme park attendance. More than 70% of analysts covering the stock rate it a buy, according to FactSet. And based on the average analyst price target, Disney shares could rise another 15.9 percent. Another analyst favorite is SVB Financial, which is up 10% for the week so far. Nearly 67% of analysts covering the regional bank have a buy rating on the stock, according to FactSet. Shares of SVB Financial have an upside of 6.8% according to the average analyst price target. Meanwhile, more than 57% of analysts who cover Aptiv rate the stock a buy, FactSet data shows. The auto technology supplier, which rose 11% this week, has upside of 20.6%, according to the average analyst price target.