Read more about the article Spark Read CSV file into DataFrame
Photo by Lewis Ngugi on Unsplash

Spark Read CSV file into DataFrame

Spark SQL provides spark.read.csv("path") to read a CSV file into Spark DataFrame and dataframe.write.csv("path") to save or write to the CSV file. Spark supports reading pipe, comma, tab, or any…

23 Comments