'Jupyter Notebook PDF via latex doesn’t show table

I want to print a pandas.dataframe in my Jupyter-Notebook but if I convert the notebook as a pdf via latex I get no table. If I use the command \usepackage{booktabs} and convert the notebook I get an error. Can someone pls help me?

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source