Hi Guys,
Say I have a dataset like this:
x = DataFrame(a=[1,3,4,5],b=["a;b;c;d","a;c;d","a;c","b;d"])
I want to first split the column b
and then explode it to a long dataset.
In python the code is like this:
x['b'] = x['b'].str.split(";")
x.explode('b')
Is there any way I could do the same as in python?
Thanks guys!
PS: The first step to split the string could be, I am puzzled by the second part
select(x,:b=>ByRow(v->split(v,';')))