I have an Excel file as source file and I want to read data from Excel file and convert data in DataFrame using Databricks. I am new in Scala.
val df = spark.read.format("com.crealytics.spark.excel")
.option("location", "/FileStore/tables/Airline.xlsx")
.option("useHeader","true")
.option("treatEmptyValuesAsNulls", "false")
.option("inferSchema","false")
.option("addColorColumns", "false")
.load("/FileStore/tables/Airline.xlsx")