Fix ValueError when reading a Dataframe with HDFStore in Python 3 fro…
Pull request to solve : 24404

- [ ] closes #24404
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
