I want to rename columns if they have specific names. For that I am using the columnExists function in a Java snippet. It works fine, but now I would like to rename the existing columns by adding some prefix. Is that possible?
I know that its much easier with R or Python but I have sdf/smiles columns which are converted to string if I use such snippets. This will make my life harder as I would have to change the overall workflow (as the molecule column name changes), whereas with java this could be done within one node.
If there are other options to do this in a dynamic way I’ll also be glad to get to know these.
Thanks in advance!