basically, I want a code that converts Arabic dataFrame to a pdf file when I use this code
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
from pandas.plotting import table
fig, ax =plt.subplots(figsize=(12,4))
ax.axis('tight')
ax.axis('off')
the_table = ax.table(cellText=report.values,colLabels=report.columns,loc='center')
pp = PdfPages("foo.pdf")
pp.savefig(fig, bbox_inches='tight')
pp.close()
it export it but with empty cells