[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Loading graph from files
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Loading graph from files |
Date: |
Fri, 15 Nov 2013 13:22:34 -0500 |
Hi, I think csv is not directly supported, although probably only 3
lines of code after you have the edge list.
For space separated edge lists, see:
http://igraph.sourceforge.net/doc/python/igraph.GraphBase-class.html#write_edgelist
http://igraph.sourceforge.net/doc/python/igraph.GraphBase-class.html#write_ncol
The latter one uses symbolic vertex names, potentially.
Gabor
On Fri, Nov 15, 2013 at 12:11 PM, Ahmed Abdeen Hamed
<address@hidden> wrote:
> Hey everyone,
>
> How do you export a graph from file (txt, csv) into igraph? I am only
> finding R examples not python. Any pointers available?
>
> Thanks very much!
>
> -Ahmed
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>