We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can lookup values by constructing a Map:
val data= CollSeq(("Zesa",10,20), ("Eskom",5,11), ("Sars",16,13)) val lookupByRow= data._1.zip(data).toMap lookupByRow("Sars") res4: Product3[String,Int,Int] = (Sars,16,13)