Untitled
unknown
plain_text
a year ago
681 B
11
Indexable
Never
event_funnel_by_group = logs_new.pivot_table(index='event_name', columns='group', values='device_id', aggfunc=pd.Series.nunique)\ .reset_index() event_funnel_by_group['all'] = event_funnel_by_group[246] + event_funnel_by_group[247] + event_funnel_by_group[248] event_funnel_by_group = event_funnel_by_group.drop(event_funnel_by_group[event_funnel_by_group['event_name'] == 'Tutorial'].index, inplace=True) event_funnel_by_group = event_funnel_by_group.sort_values(by ='all', ascending=False).reset_index()