Ryan O’Hearn went 3-for-4 with a two-run home run and Endy Rodriguez went 2-for-3 with two RBI to lead the Pittsburgh Pirates to a 7-2 win over the Colorado Rockies.