Skip to content

Commit dc08f46

Browse files
committed
try to view flight as dataframe
1 parent 4d0448d commit dc08f46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/calculate_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@
104104

105105
total_sage_flight_costs = (df['Flights'].sum()).round(2)
106106
st.write('Total flight costs: ', total_sage_flight_costs)
107-
# st.caption('To calculate mileage from these flights, the necessary rows are below.')
108-
# flights_df = df.loc[df['Flights'] > 0]
109-
#st.dataframe(flights_df)
107+
st.caption('To calculate mileage from these flights, the necessary rows are below.')
108+
flights_df = df.loc[df['Flights'] > 0]
109+
st.dataframe(flights_df)
110110

111111
total_sage_hotel_costs = (df['Hotels'].sum()).round(2)
112112
st.write('Total hotel costs: ', total_sage_hotel_costs)

0 commit comments

Comments
 (0)