Step 3 - Loading and parsing input data

We load and get the transaction. Then we get the distribution:

val inputCSV = "data/creditcard.csv"

val transactions = spark.read.format("com.databricks.spark.csv")
.option("header", "true")
.option("inferSchema", true)
.load(inputCSV)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset