I'm trying to convert this dataframe:
into this dataframe in Knime
Any suggestions?
(Assuming you do not know in advance the name of the last column.) I believe with my HiTS extension's Unpivot node it should work with a pattern like this (you will probably need a Column Renamer/String Manipulator to adjust it):
(q\d)(.*)
In case this is really just this single input, just use the Constant Value Column nodes to create the quarter
, timing
columns and the Column Rename/Column Resorter nodes to achieve the Dataframe2.