Skip to content

Commit

Permalink
experimental_memo was deprecated in 1.18.0. Use (#1095)
Browse files Browse the repository at this point in the history
`cache_data` instead.
  • Loading branch information
alexmalins authored Jun 18, 2024
1 parent 46b66da commit b97991a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/kb/FAQ/how-download-pandas-dataframe-csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import pandas as pd

df = pd.read_csv("dir/file.csv")

@st.experimental_memo
@st.cache_data
def convert_df(df):
return df.to_csv(index=False).encode('utf-8')

Expand Down

0 comments on commit b97991a

Please sign in to comment.