# Getting columns back

**URL:** <https://forum.knime.com/t/getting-columns-back/4853>\
**Category:** KNIME Extensions\
**Tags:** text-processing\
**Created:** [August 4, 2016, 7:12am UTC](https://forum.knime.com/t/getting-columns-back/4853 "2016-08-04T07:12:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaccaMagic](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/eb9ed0/32.png) [@MaccaMagic](https://forum.knime.com/u/MaccaMagic)\
**Post date:** [August 4, 2016, 7:12am UTC](https://forum.knime.com/t/getting-columns-back/4853/1 "2016-08-04T07:12:15Z")

</div>

Hey all,

The forums are great, they've answered many questions for me that others have also posed. Now I've posted my first questions two days in a row ;)

Ok so the question is regarding some sentiment analysis. I'm defining columns to Author, Category etc through the Strings to Document node, then doing sentiment tagging, bag of words creator etc. Everything is going great. I then get to a point where I use the Document Data Extractor to bring out some of those earlier columns.

But many of my other columns I also need to bring back deep into the workflow but I can't becuase they dropped off back at the dictionary taggers and bag of words node.

Hope this makes sense.

How do I bring back in other columns that are important. I've tried using the Meta Info inserter and exractor too.

Just not sure what to join back on, or what nodes would reintroduce all of the columns.

Thoughts?

Cheers, Macca

---

<div class="post-metadata">

**Author:** ![marco\_ghislanzoni](https://forum-cdn.knime.com/user_avatar/forum.knime.com/marco_ghislanzoni/32/146_2.png) [@marco\_ghislanzoni](https://forum.knime.com/u/marco_ghislanzoni)\
**Post date:** [August 4, 2016, 10:11am UTC](https://forum.knime.com/t/getting-columns-back/4853/2 "2016-08-04T10:11:39Z")

</div>

Hi Macca,

nothing prevents you from "branching out" a copy of a table at any point in a&nbsp;workflow and use it much farther&nbsp;down the road&nbsp;to bring back some of columns that have been dropped in the mean time. This is common practice when working with KNIME.

Now on the most appropriate way&nbsp;to re-join some columns from the original table&nbsp;to the new&nbsp;table, the answer is, as usual, it depends.

If the new table still has&nbsp;the number of rows, row keys and row order of the original&nbsp;table, you can simply use a **Column Appender** node. Make sure you read its description to familiarize yourself with&nbsp;some of the pre-requisites.The Column Appender node can also deal with altered row keys and will basically stick the original columns side by side with the new ones.

If the new table has a different number of rows, row keys and/or row order, the **Joiner** node may be more appropriate, provided you have a "key" column or UID column in both tables telling you how the rows are joined together. If you don't have a key or UID column in your original data set, either you rely on KNIME's own row ID's (mind that they can altered by some nodes) or&nbsp;you add your own key/UID&nbsp;using for example the&nbsp; **Counter Generation** node. You will have to bring along the key/UID column with the new data table&nbsp;up to the point where you re-join it with the original data table.

I hope this makes sense to you and is useful to solve your problem. Otherwise, please post again here.

Cheers,  
Marco.&nbsp;

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 2, 2023, 9:48pm UTC](https://forum.knime.com/t/getting-columns-back/4853/3 "2023-06-02T21:48:46Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
