Is there any alternative for df[100, c(\"column\")] in scala spark data frames. I want to select specific row from a column of spark data frame. for example
df[100, c(\"column\")]
you can simply do that by using below single line of code
val arr = df.select("column").collect()(99)