Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
datrz committed Jul 9, 2023
1 parent 3f1372e commit da96064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def get_data(cell, element, attr=None, value=None):
# load flights.csv
df_preloaded = pd.read_csv('flights.csv')

# invert indexes in df_preloaded
df_preloaded = df_preloaded.iloc[::-1].reset_index(drop=True)
# add additional column with inverted index
df_preloaded['flight_count'] = df_preloaded.index

# ====== MAIN PAGE VIEW ======

Expand Down

0 comments on commit da96064

Please sign in to comment.