You can add a filter with string that you are sure available only in the header
Le mercredi 27 avril 2016, Divya Gehlot <divya.htco...@gmail.com> a écrit : > yes you can remove the headers by removing the first row > > can first() or head() to do that > > > Thanks, > Divya > > On 27 April 2016 at 13:24, Ashutosh Kumar <kmr.ashutos...@gmail.com > <javascript:_e(%7B%7D,'cvml','kmr.ashutos...@gmail.com');>> wrote: > >> I see there is a library spark-csv which can be used for removing header >> and processing of csv files. But it seems it works with sqlcontext only. Is >> there a way to remove header from csv files without sqlcontext ? >> >> Thanks >> Ashutosh >> > > -- M'BAREK Med Nihed, Fedora Ambassador, TUNISIA, Northern Africa http://www.nihed.com <http://tn.linkedin.com/in/nihed>