Bug in DataFrame.replace casts columns to ``object`` dtype if items in ``to_replace`` not in values
- [ ] closes #32988
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
