All the columns except exploded column will be duplicated after explode. As
it joins all the value of exploded column list with other columns.

Hope it clears.

Regards
Ansh

On Mar 7, 2018 4:54 PM, "Vitaliy Pisarev" <vitaliy.pisa...@biocatch.com>
wrote:

> This is a fairly basic question but I did not find an answer to it
> anywhere online:
>
> Suppose I have the following data frame (a and b are column names):
>
> a      |       b
> ---------------
> 1      |    [x1,x2,x3,x4] # this is an array
>
>
> Now I explode column b and logically get:
>
> a      |       b
> ---------------
> 1      |      x1
> 1      |      x2
> 1      |      x3
> 1      |      x4
>
> Are the values in the adjacent columns *actually* duplicated?
>
>

Reply via email to