dschandra commited on
Commit
4b73f5e
·
verified ·
1 Parent(s): 5937261

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,10 +28,10 @@ def display_pole_data(pole_df):
28
  # Display Charts
29
  def display_charts(pole_df):
30
  st.subheader("⚙️ Energy Generation Trends")
31
- st.bar_chart(pole_df[['Solar_Generation__c', 'Wind_Generation__c']].set_index('Pole_ID__c'))
32
 
33
  st.subheader("📉 Tilt vs Vibration")
34
- st.scatter_chart(pole_df[['Tilt__c', 'Vibration__c']].set_index('Pole_ID__c'))
35
 
36
  # Main function to run the dashboard
37
  def main():
 
28
  # Display Charts
29
  def display_charts(pole_df):
30
  st.subheader("⚙️ Energy Generation Trends")
31
+ st.bar_chart(pole_df[['Solar_Generation__c', 'Wind_Generation__c']].set_index('Pole__c'))
32
 
33
  st.subheader("📉 Tilt vs Vibration")
34
+ st.scatter_chart(pole_df[['Tilt__c', 'Vibration__c']].set_index('Pole__c'))
35
 
36
  # Main function to run the dashboard
37
  def main():