Update App_For_PDF_To_Dataframe.py
Browse files
App_For_PDF_To_Dataframe.py
CHANGED
|
@@ -73,7 +73,7 @@ if input_pdf is not None:
|
|
| 73 |
|
| 74 |
@st.cache
|
| 75 |
def convert_df(df):
|
| 76 |
-
# IMPORTANT: Cache the conversion to prevent computation on every rerun
|
| 77 |
return df.to_csv().encode('utf-8')
|
| 78 |
|
| 79 |
csv = convert_df(table[int(option)-1].df)
|
|
|
|
| 73 |
|
| 74 |
@st.cache
|
| 75 |
def convert_df(df):
|
| 76 |
+
# IMPORTANT: Cache the conversion to prevent computation on every rerun to get csv
|
| 77 |
return df.to_csv().encode('utf-8')
|
| 78 |
|
| 79 |
csv = convert_df(table[int(option)-1].df)
|