following are read mode for csv format in databricks code example
Example: read csv in spark
df = spark.read.format("csv").option("header", "true").load("csvfile.csv")
df = spark.read.format("csv").option("header", "true").load("csvfile.csv")