start using f-strings
- [ ] tests passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] upgrades old string formatting to f-strings in core/generic.py
