case classIrisFlower(sepalLength: Double, sepalWidth: Double, petaLlength: Double, petalWidth: Double) extends Product with Serializable
This show cases an alternate way of creating the DataFrame
Rather than creating a row RDD and a schema we can use a case class whose fields correspond
to the dataFrames schema
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
This show cases an alternate way of creating the DataFrame Rather than creating a row RDD and a schema we can use a case class whose fields correspond to the dataFrames schema