MAINT: Use float arange when required or intended
Ensure arange is float when intened or required by NumPy

- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
