DOC: update code style for remaining intro tutorial docs for #36777 computation.rst
…omputation.rst #36832

- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
