Lesen Sie CSV in Spark
df = spark.read.format("csv").option("header", "true").load("csvfile.csv")
Graceful Goat
df = spark.read.format("csv").option("header", "true").load("csvfile.csv")
df = spark. read . format("csv") . option("header", "true")