I need to stack the repeating column values under single column. For example, if a,b and c are repeating columns with respective values
product,a, b, c, a, b, c
X, 1, 3, 2, 2, 5, 1
Expected result should look like
product, a, b, c
X, 1, 3, 2
X, 2, 5, 1
Please be informed that before these columns I have "Products" and I need to keep as it repeating for as many new rows added.
I have tried melt in python 3 but it doesn't solve