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)
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)