TST: Isin converted floats unnecessarily to int causing rounding issues
- [x] closes #19356
- [x] closes #21804
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry


