fendy07 commited on
Commit
c659a84
·
verified ·
1 Parent(s): 222d2ad

Update src/pages/dashboard.py

Browse files
Files changed (1) hide show
  1. src/pages/dashboard.py +2 -2
src/pages/dashboard.py CHANGED
@@ -8,13 +8,13 @@ import plotly.graph_objects as go
8
  st.title("Dashboard Analysis Customer Retail")
9
 
10
  # Load CSS style
11
- with open('../static/styles.css') as f:
12
  st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
13
 
14
  # Load dataset
15
  @st.cache_data
16
  def load_data():
17
- data = pd.read_csv('../data/customer_shopping_data.csv')
18
  return data
19
  data = load_data()
20
 
 
8
  st.title("Dashboard Analysis Customer Retail")
9
 
10
  # Load CSS style
11
+ with open('src/static/styles.css') as f:
12
  st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
13
 
14
  # Load dataset
15
  @st.cache_data
16
  def load_data():
17
+ data = pd.read_csv('src/data/customer_shopping_data.csv')
18
  return data
19
  data = load_data()
20