[Networkit] Read simple edgelist

Christian Staudt christian.staudt at kit.edu
Fri Oct 2 22:01:39 CEST 2015


On 02 Oct 2015, at 20:26, Maximilian Vogel <maximilian.vogel at student.kit.edu> wrote:

> # ...
> # if you want a header row, describing the contents
> helper.exportNodeValues("your_file.csv", mapping, results, ["betweenness","degree"])
> # else this is sufficient
> helper.exportNodeValues("your_file.csv", mapping, results)
> 
> You can also specifiy a different than the default delimiter=','. This should then produce the file in the desired format.
> 
> I hope this helps,
> Max

We should probably integrate your helper.py code into the project.
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20151002/3c43df54/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20151002/3c43df54/attachment.sig>


More information about the NetworKit mailing list