[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] importing from a single source and multi-target csv file
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] importing from a single source and multi-target csv file |
Date: |
Wed, 9 Mar 2016 11:36:02 +0100 |
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
<address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>