Carter (and Ford before him) inherited major inflation from LBJ and Nixon, both of whom decided to conduct a major war without funding it (sound familiar?). It took the better part of a decade and a whole lot of pain to get that inflation under control. Much like his spiritual successor, The Donald, Reagan reaped the benefits of what Carter (and to a lesser extent Ford) did to reverse inflation.. Unfortunately the modern American electorate has a very short term memory and next to no concept of cause and effect. If a problem involves sacrifice or pain to resolve, the President who undertakes that effort is damned and the trickster claims all the credit.
I'm betting Trump's misery index will be low, assuming that the mega-recession/depression he is seeding doesn't take effect until he is gone, and also assuming he doesn't trigger a nuclear war or world war. All of those assumptions are based on hope and prayer. Trump is a classic GOP case of cutting taxes by borrowing, doing absolutely nothing to fix current problems (like infrastructure, rampant gun violence, etc), ramping up government expense on pie in the sky programs (the Trump wall, starting a new nuclear arms race, rampant government corruption, etc) -having dessert now while passing the costs down to our kids.
If we could string together two or three responsible, practical presidents in a row (regardless of party) we'd be much better off