DOC: Fix iteritems docs
I know `iteritems()` is being removed in Pandas 1.6, but Pandas 1.5.4 should at least fix the docs so it properly points to the recommended alternative.
pls merge main @jbrockmendel That's the thing - I can't merge into main because the docs for `iteritems()` was removed already in main, ahead of the 1.6 release. This fix only needs to go into the 1.5.x branch. (So that current and future users of the 1.5.x docs have a good link, assuming that there will be another 1.5.x release) > @jbrockmendel That's the thing - I can't merge into main because the docs for `iteritems()` was removed already in main, ahead of the 1.6 release. This fix only needs to go into the 1.5.x branch. (So that current and future users of the 1.5.x docs have a good link, assuming that there will be another 1.5.x release)

Thanks @hintron for the PR. This indeed does present some complications considering our regular process.

This PR is opened against pandas-dev:main. If we do a 1.5.4 release than we could potentially consider a doc improvement.

I'm closing this but could you either open an issue describing the problem or re-submit the PR against pandas-dev:1.5.x. The later is not normal procedure so make sure to highlight this in the opening comment.

