Pandas ke Lateks Lebar Meja Pylatex
doc.packages.append(Package('adjustbox')) # Include the package
doc.append(NoEscape(r'\begin{adjustbox}{width=1\textwidth}'))
table.append(NoEscape(df.to_latex(escape=False))) # Your df.to_latex() code here
doc.append(NoEscape(r'\end{adjustbox}'))
Powerful Penguin