The U.S. economy grew at 2.6 percent in the second quarter of 2017, the Commerce Department said Friday.