Give a dataframe like this :
dataframe = DataFrame(col1 = rand(3),
col2 = [['a'],['a','b','c'],['a','c']])
How can I get the longest list in col2?
I tried with :
dataframe[partialsortperm(dataframe.col2, 1, rev=true), :]
but It returns ['a','c'] instead of ['a','b','c].