You have to convert it to a plain edge list first; basically, for each row in the original file, you have to enumerate all possible pairs of items from the row. T.
On Tue, Mar 8, 2016 at 5:53 PM, Ahmed Abdeen Hamed <[email protected]> wrote: > Hello friends, > > I have a network stored in a csv file with multiple columns like this: > > user0, product1, product13, sentiment > ..... > > The network has three types of nodes: a user, a product, and a sentiment. Is > there a way to import the four columns in the CSV format into igraph? > > Thanks in advance, > > -Ahmed > > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
