I have a data frame like this: Example Dataset
And I want the Dataframe as Result Dataset I have used a chunk of code that does this but I don\'t know what\'s the pro