Update eda.py
Browse files
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.
|
| 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
|