This question already has answers here:
How to reshape data from long to wide format (12 answers)
Closed 5 years ago.
I have a data frame with several data like this
Key A B C
1 1 2 3
1 4 6 8
1 3 2 1
i need to merge these data with same key into one row just like this
Key A1 B1 C1 A2 B2 C2 A3 B3 C3
1 1 2 3 4 6 8 3 2 1
is there any easy way to get this result what i need.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)