DOC: Format more code blocks
Actually, contrary to https://github.com/pandas-dev/pandas/pull/36700#issuecomment-700957831 there is quite a lot more clean up to do (so maybe could make for some good first issues @simonjayhawkins), it's just that other docs contain blocks that blacken-docs can't parse (e.g., raw output or ipython code containing magic commands). A workaround is to comment them out, parse the doc, and then uncomment (the commented blocks would then have to be edited manually).

Is it possible to render blocks like this as pure code in rst which are allowed to raise?

```python
   .. code-block:: python

       >>> pd.DataFrame(np.random.randn(10, 2)).to_hdf('test_fixed.h5', 'df')
       >>> pd.read_hdf('test_fixed.h5', 'df', where='index>5')
       TypeError: cannot pass a where specification when reading a fixed format.
                  this store must be selected in its entirety
```
> Actually, contrary to [#36700 (comment)](https://github.com/pandas-dev/pandas/pull/36700#issuecomment-700957831) there is quite a lot more clean up to do (so maybe could make for some good first issues @simonjayhawkins ), it's just that other docs contain blocks that blacken-docs can't parse (e.g., raw output or ipython code containing magic commands). A workaround is to comment them out, parse the doc, and then uncomment (the commented blocks would then have to be edited manually).
> 
> Is it possible to render blocks like this as pure code in rst which are allowed to raise?
> 
> ```python
>    .. code-block:: python
> 
>        >>> pd.DataFrame(np.random.randn(10, 2)).to_hdf('test_fixed.h5', 'df')
>        >>> pd.read_hdf('test_fixed.h5', 'df', where='index>5')
>        TypeError: cannot pass a where specification when reading a fixed format.
>                   this store must be selected in its entirety
> ```

yes you can add ```:okexcept:``` though to be honest it doesn't look as nice I think (maybe there is a way to limit the traceback) thanks @dsaxton 