I have two columns, one has the single date and may have list of dates, it can be empty list also. I want to calculate the difference of age between first column and all the dates of the second column.
column1 column2 result
11-01-2014 [1975-12-16, 1980-07-24] [39,34]
20-11-2014 [1985-08-05, 1983-03-16] [29,31]
26-12-2016 [1966-05-22, 1958-04-13] [50,58]
20-05-2016 [1981-04-21, 1983-12-25] [35,33]
01-01-2016 [1993-10-29, 1966-06-27] [23,50]
I have column1 and column2 as input and I am expecting output in the form result.