spark.read.csv("people.csv")
// or the same as above in a more verbose way
spark.read.format("csv").load("people.csv")
CSVFileFormat
CSVFileFormat
is a TextBasedFileFormat
that registers DataSources
under the name csv
.
CSVFileFormat
is a TextBasedFileFormat
that registers DataSources
under the name csv
.
spark.read.csv("people.csv")
// or the same as above in a more verbose way
spark.read.format("csv").load("people.csv")