How to read csv file with comma values in a column using pyspark

146 views Asked by At

My csv file has column values with a comma in it as shown below.

Name subject studentid
Mark ["CS","DBMS","Big Data"] 123

When I try to read the csv file using spark. My spark data frame is not displaying the complete value of subject column and

spark dataframe display

what options should I use while reading csv to read the column values with comma correctly ?

0

There are 0 answers