You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
most_active_member = np.where(interactions_per_member == np.max(interactions_per_member))[0] # Find the indices of the most active members
59
64
most_active_interactions = np.max(interactions_per_member) # Find the maximum number of interactions
60
65
print(f"The indices of the most active members and the number of interactions: Indices {most_active_member} / {int(most_active_interactions)} time(s)\n")
least_active_member = np.where(interactions_per_member == np.min(interactions_per_member))[0] # Find the indices of the least active members
63
69
list_active_interactions = np.min(interactions_per_member) # Find the minimum number of interactions
64
70
print(f"The indices of the least active members and the number of interactions: Indices {least_active_member} / {int(list_active_interactions)} time(s)\n")
0 commit comments