Not able to extract the third element from the column features:
rescaledData.withColumn("test", rescaledData["features"].getItem(2))
rescaledData.selectExpr("features[2]").show()
Both don't work
Not able to extract the third element from the column features:
rescaledData.withColumn("test", rescaledData["features"].getItem(2))
rescaledData.selectExpr("features[2]").show()
Both don't work