def METHOD_NAME():
    with st.expander("Statistics"):
        if not isinstance(st.session_state.df, pd.DataFrame):
            st.warning(MSG_NO_DATA)
            return
        df = st.session_state.df
        df_stats = (
            df["public_username"]
            .value_counts()
            .pipe(lambda x: x[x>0])
            .reset_index()
            .rename(
                columns={
                    "index": "public_username",
                    "public_username": "Nb of public comparison",
                }
            )
        )
        df_stats["Nb of video"] = df_stats["public_username"].apply(
            lambda x: len(get_unique_video_list(df[df["public_username"] == x])))
        col1, col2, col3 = st.columns(3)
        col1.metric("Users", df["public_username"].nunique())
        col2.metric("Videos", pd.concat([df["video_a"], df["video_b"]]).unique().size)
        col3.metric("Comparisons", df["video_a"].size)
        st.write("Number of public comparisons by user:")
        st.write(df_stats)