Skip to content
Advertisement

Transpose specific rows into columns in pandas

I have a dataset that has information like below:

JavaScript

I want to convert this piece of data to this form:

JavaScript

How can I convert my data frame to this form ?? I am not getting what should I do in this case.

Advertisement

Answer

Try with

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