vickybelario commited on
Commit
06666d6
·
verified ·
1 Parent(s): 3efdcf6

Update eda.py

Browse files
Files changed (1) hide show
  1. eda.py +1 -1
eda.py CHANGED
@@ -6,7 +6,7 @@ import seaborn as sns
6
  import plotly.express as px
7
 
8
  # Fungsi untuk mengambil data (gunakan @st.cache untuk caching data)
9
- @st.cache
10
  def fetch_data():
11
  df = pd.read_csv("laptop_updated.csv")
12
  return df
 
6
  import plotly.express as px
7
 
8
  # Fungsi untuk mengambil data (gunakan @st.cache untuk caching data)
9
+ @st.cache_data
10
  def fetch_data():
11
  df = pd.read_csv("laptop_updated.csv")
12
  return df