Scala, Mllib, Machine Learning, Linear Regression, Spark.
Array[org.apache.spark.sql.Row] = Array([mstephenson@fernandez.com,Violet,34.49726772511229,12.65565114916675,39.57766801952616 ,4.0826206329529615,587.9510539684005]) */ We can print the data of the first row in the dataset along with their corresponding column headers. //get column names val