In Pandas with Python I could use:
for item in read_csv(csv_file, header=1)
And in Spark I only have the option of true/false?
df = spark.read.format("csv").option("header", "true").load('myfile.csv')
How can I read starting from the second row in Spark? The suggested duplicate post is an outdated version of Spark. I am using the latest, 2.4.3.