How to convert a dataframe in pdf format and export it to local?

Hi @qwertyf09, welcome to the forum!

In this case, this question is really not related to Streamlit, and relates to the python package pandas, so your best bet is to search for something like “pandas dataframe to pdf” on Google or StackOverflow. See this post for more guidelines like this about posting on the streamlit forum.

Here is an example StackOverflow question which has some suggested methods of generating a pdf from a pandas dataframe – hope one of these works for you: Export Pandas DataFrame into a PDF file using Python - Stack Overflow

1 Like