In certain cases, it is quite possible that the information from two columns can be merged into one column without losing any information about the network and its components. In this recipe, we will learn how to carry out this operation in the Data Laboratory mode.
Download the Hero Social Network Data from http://exposedata.com/marvel. Open the dataset file and insert a new row in the beginning of the file. In the first column of this row, insert the text Source
and insert the text Target
in the second column. These labels will act as headers while reading the file. Now, read this file in Gephi using the steps described in the first recipe of this chapter, Importing a spreadsheet.