BUG: Fix index type casting in read_json with orient='table' and float index (#25433)
closes #25433
closes #25435
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
