sampleFile.tab
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/t496073/sampleFile.tab>
  

above is the sample file.

and below is the code that produces the error as i mentioned before

import pandas as pd
import graph_tool.all as gtx
df = pd.read_csv("file_path",sep='\t',headers=True)

myGraph = gtx.Graph()

myGraph.add_edge_list(df.values.tolist())



--
Sent from: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to