If it is spark related, then Something like this?

csv = sc.textFile("hdfs:///stats/test.csv").map(*myFunc*)

And create a myFunc in which you will convert the String to a CSV record
and do whatever you want to do with it?

Thanks
Best Regards

On Sun, May 31, 2015 at 2:50 AM, sherine ahmed <sherine.sha...@hotmail.com>
wrote:

> Hi All ,
> I need to read a csv file using read.csv function in igraph by python but i
> don't know where to put the data to be read by igraph and i don't know the
> exact syntax of importing a csv file into igraph so i would appreciate any
> help
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/import-CSV-file-using-read-csv-tp23089.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
>
>

Reply via email to