def df_sessions_registered_participants(self):
    results = {}
    for (key, value) in self.hugo.df_participants().to_dict(orient='index').items():
        title = value.get('title')
        sessions = value.get('sessions')
        for session in sessions:
            if (results.get(session) is None):
                results[session] = []
            results[session].append(title)
    mappings = []
    for (key, value) in results.items():
        mappings.append({'title': key, 'participants': value, 'participants_count': len(value)})
    df_mappings = pd.DataFrame(mappings)
    df_mappings = df_mappings[['title', 'participants_count', 'participants']].sort_values(['participants_count'], ascending=False)
    return df_mappings
def df_sessions_registered_participants(self):
    results = {}
    for (key, value) in self.hugo.df_participants().to_dict(orient='index').items():
        title = value.get('title')
        sessions = value.get('sessions')
        for session in sessions:
            if (results.get(session) is None):
                results[session] = []
            results[session].append(title)
    mappings = []
    for (key, value) in results.items():
        mappings.append({'title': key, 'participants': value, 'participants_count': len(value)})
    df_mappings = pd.DataFrame(mappings)
    df_mappings = df_mappings[['title', 'participants_count', 'participants']].sort_values(['participants_count'], ascending=False)
    return df_mappings