I would like to transform a table with a column as array of strings on databricks pyspark.
my table:
id values (array<string>)
rgf ['vwervfrev', 'fweccf', 'tuyhert']
rty ['evvverws', 'ilonmunt', 'cedcrhb']
What I need:
id values
rdf 'vwervfrev'
rdf 'fweccf'
rdf 'tuyhert'
rty 'evvverws'
rty 'ilonmunt'
rty 'cedcrhb'
I am not sure how to do the transformation ?
thanks