Skip to content
Advertisement

Dataframe transformation (preparation to sql export)

How to make such transformation as in the below image ? enter image description here

Advertisement

Answer

You can use the gather function form the tidyr package:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement