I'm a beginner with Scala.
I've got a dataframe with 2 columns :
the first is a date, the second an array of words.
created_at:string
words:array
element:string
I wish to keep only words begining with a '#'
I would prefer to make the filter before exploding the array, as most words do not start with a '#'
I didn't find a way to modify an array column and apply something like a filter(_.startsWith("#")).
Is it possible ? and how ?
Thank's
Pierre