I am using gdxpds in python to read gdx file from GAMS. But the dataframe I got does not have the correct shape. Here is the data from I got:
But what I need is a