Skip to content

Commit

Permalink
add some sidebar stats
Browse files Browse the repository at this point in the history
  • Loading branch information
sborms committed Nov 30, 2023
1 parent 5421adb commit 217e563
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webapp/pages/04_😏_Vanity_Stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ def filter_players(df, dict_filters):
########## UI ##
##################

with st.sidebar:
headercol1, headercol2 = st.columns(2)
headercol1.metric("Nbr. of teams", df_players["Team"].nunique())
headercol2.metric("Nbr. of players", df_players["Name"].nunique())

st.title("Vanity Stats")
st.markdown("### Analyze player-level game performance")

Expand Down

0 comments on commit 217e563

Please sign in to comment.