i would like to transform
Source Data
this shape of data to
Final Data
this.
may be melt can be used in iterative manner, but i wonder is