Hi,

The solutions is here: https://github.com/databricks/spark-csv

Using the above solution you can read CSV directly into a dataframe as well.

Regards,
Gourav

On Tue, Feb 23, 2016 at 12:03 PM, Devesh Raj Singh <raj.deves...@gmail.com>
wrote:

> Hi,
>
> I have imported spark csv dataframe in python and read the spark data the
> converted the dataframe to pandas dataframe using toPandas()
>
> I want to convert the pandas dataframe back to spark csv and write the csv
> to a location.
>
> Please suggest
>
> --
> Warm regards,
> Devesh.
>

Reply via email to