Transform a dataframe for network analysis using pandas
Transform a dataframe for network analysis using pandas Question: I have a data frame of online game matches including two specific columns: IDs of matches and IDs of players participated in a particular match. For instance: match_id player_id 0 1 0 2 0 3 0 4 0 5 1 6 1 1 1 7 1 …