There's a single Jupyter Notebook in pandas:

https://github.com/pandas-dev/pandas/blob/428540bcc57c8e9b2f260abf198cec82fd2862c6/doc/source/user_guide/style.ipynb

Just for this single notebook, we need to have pandoc and nbconvert in the dependencies. The first one in particular is pretty heavy, and can cause installation issues https://github.com/pandas-dev/pandas/issues/48060#issuecomment-1215358116

Does this file need to be a notebook? Would it be possible to have a rst file with ipython blocks in it instead?

Comment From: attack68

The purpose of the file is for accurate graphical display of the HTML and coloured styles. Does RST with ipython blocks generate the same?

There are other areas of the docs where images have been generated and used in place, but that comes with the risk that the images become out of date with the code and go undetected.

Comment From: MarcoGorelli

yeah having tried this out for a bit, I'm not sure much can be done here

leaving open for a bit in case anyone else has any idea, will close in a month's time if there's been no activity