General Discussions

Discuss any topics that are not product-specific here.

Transposing data

manishab
6 - Meteoroid

Hi, I am getting the EIA data using an API but I am not understanding how to transpose the following output of the data. 

 

Jason_Value_String31
Dollars per Gallonunits
Wf
$/galunitsshort
Missouri Propane Residential Pricedescription
20220214end
2022-02-16T13:20:22-0500updated
20220214data
2.508data
20220207data
2.507data
20220131data
2.434data
20220124data
2.408data

 

I want the data in this format.

 

unitsfunitsshortdescriptionendupdateddatadata
Dollars per GallonW$/galMissouri Propane Residential Price202202142022-02-16T13:20:22-0500202202142.508
Dollars per GallonW$/galMissouri Propane Residential Price202202152022-02-16T13:20:22-0501202202072.507
Dollars per GallonW$/galMissouri Propane Residential Price202202162022-02-16T13:20:22-0502202201312.434
Dollars per GallonW$/galMissouri Propane Residential Price202202172022-02-16T13:20:22-0503202201242.408

 

I am not sure how to separate the below-highlighted rows into two different columns as there is a date 20220214 and the value 2.508 in the same columns.

 

manishab_0-1645631969236.png

 

Any suggestions/help would be appreciated. 

 

 

 

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@manishab 
My output is different on the "End" column.😁

0225-manishab.PNG

binuacs
20 - Arcturus

@manishab 

binuacs_0-1646291194223.png

 

Labels